mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 13:55:02 +08:00
put cursor on the tree root by default
This commit is contained in:
parent
397dee5cb1
commit
bcc690a141
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user