fix the <enter> mapping
It now acts the same as the ActivateNode mapping ('o' by default) again. This was broken in the big refactor. Fixes #222
This commit is contained in:
parent
cc0777b792
commit
a7d5b3dbc1
@ -1228,11 +1228,11 @@ endfunction
|
||||
|
||||
"FUNCTION: nerdtree#bindMappings() {{{2
|
||||
function! nerdtree#bindMappings()
|
||||
"make <cr> do the same as the default 'o' mapping
|
||||
exec "nnoremap <silent> <buffer> <cr> :call <SID>KeyMap_Invoke('". g:NERDTreeMapActivateNode ."')<cr>"
|
||||
|
||||
call g:NERDTreeKeyMap.BindAll()
|
||||
|
||||
"make <cr> do the same as the default 'o' mapping
|
||||
exec "nnoremap <silent> <buffer> <cr> :call nerdtree#invokeKeyMap('". g:NERDTreeMapActivateNode ."')<cr>"
|
||||
|
||||
command! -buffer -nargs=? Bookmark :call <SID>bookmarkNode('<args>')
|
||||
command! -buffer -complete=customlist,nerdtree#completeBookmarks -nargs=1 RevealBookmark :call <SID>revealBookmark('<args>')
|
||||
command! -buffer -complete=customlist,nerdtree#completeBookmarks -nargs=1 OpenBookmark :call <SID>openBookmark('<args>')
|
||||
|
Loading…
x
Reference in New Issue
Block a user