put the cursor on the new root after :MarkToRoot

This commit is contained in:
Martin Grenfell 2008-06-07 18:06:32 +12:00
parent 0501fc825c
commit d718f1098c

View File

@ -2839,6 +2839,7 @@ function! s:MarkToRoot(name)
let targetNode = s:GetNodeForMark(a:name, 1)
call targetNode.MakeRoot()
call s:RenderView()
call s:PutCursorOnNode(targetNode, 0, 0)
endfunction
" FUNCTION: s:OpenEntrySplit() {{{2
" Opens the currently selected file from the explorer in a