From 9a341ec18f631e58398350cc9665b8ec4d50954d Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Tue, 9 Apr 2013 10:10:14 +0100 Subject: [PATCH] fix a bug where the user couldnt override the mapping for --- plugin/nerdtree/creator.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/nerdtree/creator.vim b/plugin/nerdtree/creator.vim index ee5f740..7f0721f 100644 --- a/plugin/nerdtree/creator.vim +++ b/plugin/nerdtree/creator.vim @@ -7,11 +7,11 @@ let g:NERDTreeCreator = s:Creator "FUNCTION: s:Creator._bindMappings() {{{1 function! s:Creator._bindMappings() - call g:NERDTreeKeyMap.BindAll() - "make do the same as the default 'o' mapping exec "nnoremap :call nerdtree#invokeKeyMap('". g:NERDTreeMapActivateNode ."')" + call g:NERDTreeKeyMap.BindAll() + command! -buffer -nargs=? Bookmark :call nerdtree#bookmarkNode('') command! -buffer -complete=customlist,nerdtree#completeBookmarks -nargs=1 RevealBookmark :call nerdtree#revealBookmark('') command! -buffer -complete=customlist,nerdtree#completeBookmarks -nargs=1 OpenBookmark :call nerdtree#openBookmark('')