make the vertical splitting work with secondary trees
This commit is contained in:
parent
63ee15ca6e
commit
0f2effb049
@ -883,6 +883,11 @@ endfunction
|
||||
"FUNCTION: TreeFileNode.openVSplit() {{{3
|
||||
"Open this node in a new vertical window
|
||||
function! s:TreeFileNode.openVSplit()
|
||||
if b:NERDTreeType == "secondary"
|
||||
exec "vnew " . self.path.strForEditCmd()
|
||||
return
|
||||
endif
|
||||
|
||||
let winwidth = winwidth(".")
|
||||
if winnr("$")==1
|
||||
let winwidth = g:NERDTreeWinSize
|
||||
|
Loading…
x
Reference in New Issue
Block a user