diff --git a/lib/nerdtree/creator.vim b/lib/nerdtree/creator.vim index 19c51ff..d76452c 100644 --- a/lib/nerdtree/creator.vim +++ b/lib/nerdtree/creator.vim @@ -7,8 +7,8 @@ let g:NERDTreeCreator = s:Creator "FUNCTION: s:Creator._bindMappings() {{{1 function! s:Creator._bindMappings() - "make do the same as the default 'o' mapping - exec "nnoremap :call nerdtree#invokeKeyMap('". g:NERDTreeMapActivateNode ."')" + "make do the same as the activate node mapping + exec "nnoremap :call nerdtree#invokeKeyMap(g:NERDTreeMapActivateNode)" call g:NERDTreeKeyMap.BindAll()