using winmanager and nerdtree

winmanager is a windows manager used in VIM to tackle with multiple windows.
As for nerdTree, an delicate VIM plugin for tree view browsing throughout folder tree.
But when integrating these two plugins together, One might find it always have an extra window opened.
In this situation, you need to make some code modification in winmanager.vim file.

At line 1059:

1
2
3
4
5
6
7
8
9
" toggle showing the explorer plugins.
function! <SID>ToggleWindowsManager()
if IsWinManagerVisible()
call s:CloseWindowsManager()
else
call s:StartWindowsManager()
exec 'q' "Just add this line
end
endfunction

Now, winmanager and nerdTree collaberating well!


using winmanager and nerdtree
https://rug.al/2014/2014-03-18-using-winmanager-and-nerdtree/
Author
Rugal Bernstein
Posted on
March 18, 2014
Licensed under