1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 09:40:04 +08:00

Merge pull request #1698 from wsdjeg/unite

Fix SPC f f key bindings
This commit is contained in:
Wang Shidong 2018-05-08 21:14:58 +08:00 committed by GitHub
commit bff5bc8ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ function! SpaceVim#layers#unite#config() abort
call s:defind_fuzzy_finder() call s:defind_fuzzy_finder()
let lnum = expand('<slnum>') + s:lnum - 1 let lnum = expand('<slnum>') + s:lnum - 1
call SpaceVim#mapping#space#def('nnoremap', ['f', 'f'], call SpaceVim#mapping#space#def('nnoremap', ['f', 'f'],
\ 'UniteWithBufferDir file/' . (has('nvim') ? 'neovim' : 'async'), \ 'UniteWithBufferDir file_rec/' . (has('nvim') ? 'neovim' : 'async'),
\ ['Find files in the directory of the current buffer', \ ['Find files in the directory of the current buffer',
\ [ \ [
\ '[SPC f f] is to find files in the directory of the current buffer', \ '[SPC f f] is to find files in the directory of the current buffer',