Reputation: 131
I start NERDTree every time I fire up vim and keep it that way. However, when I open a window for reference, and move it to the bottom, my NERDTree shrink and the window fills in, like this
How can I make the NERDTree stay on the left side and not shrink?
Upvotes: 2
Views: 2898
Reputation: 146
Control W + r will do that for you. There are more combinations that will help you with similar things in this similar thread: https://stackoverflow.com/a/4571319
Upvotes: 2
Reputation: 455
Unfortunately this is not exactly what you want. First of all you should consider to open the second file by pressing i
while you are in the NERDTree. Then you don't have to move your window to the bottom because it splits your window on the right. Secondly you may want to have a look at this vim plugin. Even this one won't solve your problem but ensures a more IDE like behavior with showing a NERDTree on all tabs on the left side.
Upvotes: 0