commit f74ec0661dfab8a68bc44adac359a170298f9d32
parent d68dcd252efb4c6c433b1f812880ba66de71dd45
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Sun, 22 Jun 2008 13:23:32 +1200
dont resize tree window when opening with <tab>
the <tab> mapping creates a new window, and we previously resized the
nerd tree window at the same time
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -2218,15 +2218,6 @@ function! s:OpenNodeSplit(treenode)
"do nothing
endtry
- " resize the explorer window if it is larger than the requested size
- exec(there)
-
- if g:NERDTreeWinSize =~ '[0-9]\+' && winheight("") > g:NERDTreeWinSize
- exec("silent resize ".g:NERDTreeWinSize)
- endif
-
- wincmd p
-
" Restore splitmode settings
let &splitbelow=savesplitbelow
let &splitright=savesplitright