1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

fix(telescope): fix SPC f f key binding for telescope layer

This commit is contained in:
wsdjeg 2022-05-17 21:45:39 +08:00
parent 731db5a091
commit 076c0fe4a6

View File

@ -118,7 +118,7 @@ function! SpaceVim#layers#telescope#config() abort
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'],
\ "exe 'CtrlP ' . fnamemodify(bufname('%'), ':h')", \ "exe 'Telescope find_files cwd=' . fnamemodify(bufname('%'), ':p:h')",
\ ['find-files-in-buffer-directory', \ ['find-files-in-buffer-directory',
\ [ \ [
\ '[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',