nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 82cd4f5a9f93bb0a7b5fd901d99bf3302389b9a2
parent b64942a500a2a08def1293567af48267f3abc53c
Author: Shane Smith <shane.smith.baz@gmail.com>
Date:   Tue,  1 Jul 2014 20:29:52 -0400

Fix <CR> not working if active node map is special char such as <Right>

Diffstat:
Mlib/nerdtree/creator.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 <cr> do the same as the default 'o' mapping
-    exec "nnoremap <silent> <buffer> <cr> :call nerdtree#invokeKeyMap('". g:NERDTreeMapActivateNode ."')<cr>"
+    "make <cr> do the same as the activate node mapping
+    exec "nnoremap <silent> <buffer> <cr> :call nerdtree#invokeKeyMap(g:NERDTreeMapActivateNode)<cr>"
 
     call g:NERDTreeKeyMap.BindAll()