commit bcc690a1416b518db6606bbe22c6a7518b528781
parent 397dee5cb123a99148dceb66fe34e3b124dd04af
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Mon, 9 Jun 2008 13:01:48 +1200
put cursor on the tree root by default
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1449,6 +1449,7 @@ function! s:InitNerdTree(dir)
call s:CreateTreeWin()
call s:RenderView()
+ call s:PutCursorOnNode(t:NERDTreeRoot, 0, 0)
endfunction
"FUNCTION: s:InitNerdTreeFromMark(name) {{{2