put cursor on the tree root by default

This commit is contained in:
Martin Grenfell 2008-06-09 13:01:48 +12:00
parent 397dee5cb1
commit bcc690a141

View File

@ -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