nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit aca917b4ca18f21f81ae104038cd2eacd505c5ea
parent 44256276832fcfa24b55670c1767bd212262b8fd
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date:   Wed,  4 Jan 2012 00:13:38 +0000

make a small fix for the left mouse button

Diffstat:
Mplugin/NERD_tree.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -3876,7 +3876,7 @@ function! s:handleLeftClick()
         if (g:NERDTreeMouseMode ==# 2 && currentNode.path.isDirectory) || g:NERDTreeMouseMode ==# 3
             let char = strpart(startToCur, strlen(startToCur)-1, 1)
             if char !~# s:tree_markup_reg
-                call s:activateAll()
+                call s:activateNode(currentNode)
                 return
             endif
         endif