mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 19:33:50 -05:00
simplify the <cr> mapping definition
This commit is contained in:
@@ -8,7 +8,7 @@ let g:NERDTreeCreator = s:Creator
|
|||||||
"FUNCTION: s:Creator._bindMappings() {{{1
|
"FUNCTION: s:Creator._bindMappings() {{{1
|
||||||
function! s:Creator._bindMappings()
|
function! s:Creator._bindMappings()
|
||||||
"make <cr> do the same as the activate node mapping
|
"make <cr> do the same as the activate node mapping
|
||||||
exec "nnoremap <silent> <buffer> <cr> :call nerdtree#invokeKeyMap(g:NERDTreeMapActivateNode)<cr>"
|
nnoremap <silent> <buffer> <cr> :call nerdtree#invokeKeyMap(g:NERDTreeMapActivateNode)<cr>
|
||||||
|
|
||||||
call g:NERDTreeKeyMap.BindAll()
|
call g:NERDTreeKeyMap.BindAll()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user