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

fix(nerdtree): key binding d does not work

Use `d` to delete node
This commit is contained in:
Shidong Wang 2021-09-25 00:38:39 +08:00
parent c9e22897e9
commit 3aecd6c31b
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -27,6 +27,7 @@ function! s:nerdtreeinit() abort
nnoremap <silent><buffer> yY :<C-u>call <SID>copy_to_system_clipboard()<CR>
nnoremap <silent><buffer> P :<C-u>call <SID>paste_to_file_manager()<CR>
nnoremap <silent><buffer> h :<C-u>call <SID>nerdtree_h()<CR>
nnoremap <silent><buffer> d :<C-u>call NERDTreeDeleteNode()<CR>
nnoremap <silent><buffer> l :<C-u>call <SID>nerdtree_l()<CR>
nnoremap <silent><buffer> <Left> :<C-u>call <SID>nerdtree_h()<CR>
nnoremap <silent><buffer> <Right> :<C-u>call <SID>nerdtree_l()<CR>