jistr / vim-nerdtree-tabs

NERDTree and tabs together in Vim, painlessly
Apache License 2.0
1.43k stars 130 forks source link

window resizing in Vim 8 when closing tab #89

Open hbunke opened 7 years ago

hbunke commented 7 years ago

Having switched to Vim 8 I've encountered a strange bug: when closing a tab by hitting :q the NERDTree window resizes to nearly a maximum of the screen. Remaining tabs get a size of ~20 (I guess). This does not happen when closing the tab with :tabc. It also does not occur in Vim 7.x

bakku commented 7 years ago

I can reproduce this. Have to restart Vim after closing one tab because of this.

jeffwillette commented 7 years ago

I have the same problem, for me it happens when a quickfix window is open and I close the main buffer

kpace commented 7 years ago

Does someone has progress on this issue?

jeffwillette commented 6 years ago

I just remapped a key to resize the window and try to be careful not to invoke the behavior

map <leader>e :vertical resize 25<CR>