diff --git a/autoload/nerdtree.vim b/autoload/nerdtree.vim index f1d94a7..7622302 100644 --- a/autoload/nerdtree.vim +++ b/autoload/nerdtree.vim @@ -1228,11 +1228,11 @@ endfunction "FUNCTION: nerdtree#bindMappings() {{{2 function! nerdtree#bindMappings() - "make do the same as the default 'o' mapping - exec "nnoremap :call KeyMap_Invoke('". g:NERDTreeMapActivateNode ."')" - call g:NERDTreeKeyMap.BindAll() + "make do the same as the default 'o' mapping + exec "nnoremap :call nerdtree#invokeKeyMap('". g:NERDTreeMapActivateNode ."')" + command! -buffer -nargs=? Bookmark :call bookmarkNode('') command! -buffer -complete=customlist,nerdtree#completeBookmarks -nargs=1 RevealBookmark :call revealBookmark('') command! -buffer -complete=customlist,nerdtree#completeBookmarks -nargs=1 OpenBookmark :call openBookmark('')