<leader> F 报错
cuiko opened this issue · 3 comments
cuiko commented
glepnir commented
换成这个试试
nnoremap <silent> <Leader>F
\ :<C-u>Defx
\ -search=`escape(expand('%:p'), ' :')`
\ -buffer-name=explorer`tabpagenr()`<CR>
cuiko commented
zhangweiii commented
换成这个试试
nnoremap <silent> <Leader>F \ :<C-u>Defx \ -search=`escape(expand('%:p'), ' :')` \ -buffer-name=explorer`tabpagenr()`<CR>
但是会出现一个新问题,就是我打开vim,然后E打开目录树,然后目录树中打开一个文件,然后F,此时会出现两个目录树