Search code examples
vimvim-pluginnerdtree

How to keep NERDTree on the left side


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 thisenter image description here

How can I make the NERDTree stay on the left side and not shrink?


Solution

  • 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