1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

fix(core): filetree key binding ctrl-home does not work

problems: the key binding `ctrl-home` in filetree buffer does not work.
solution: map `ctrl-home` to NERDTreeCWD command
This commit is contained in:
Shidong Wang 2021-09-21 23:36:47 +08:00
parent 8a8f5f4113
commit 492209fe89
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -30,6 +30,7 @@ function! s:nerdtreeinit() abort
nnoremap <silent><buffer> l :<C-u>call <SID>nerdtree_l()<CR>
nnoremap <silent><buffer> N :<C-u>call NERDTreeAddNode()<CR>
nnoremap <silent><buffer> . :<C-u>call <SID>nerdtree_dot()<CR>
nnoremap <silent><buffer> <C-Home> :<C-u>NERDTreeCWD<CR>
endfunction
function! s:paste_to_file_manager() abort