From f74ec0661dfab8a68bc44adac359a170298f9d32 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 22 Jun 2008 13:23:32 +1200 Subject: [PATCH] dont resize tree window when opening with the mapping creates a new window, and we previously resized the nerd tree window at the same time --- plugin/NERD_tree.vim | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index d42f253..7a8580b 100644 --- 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