mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
fix(nerdtree): arrow key does not work
Problem: `<Left>` and `<Right>` key does not work Solution: map `<Left>` and `<Right>` as `h` and `l`
This commit is contained in:
parent
218f16e4f5
commit
8c3dae578c
@ -28,6 +28,8 @@ function! s:nerdtreeinit() abort
|
||||
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> 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>
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user