title: Splits managing in Vim
body: <p>Working on a big and medium sized project I often end up with lots of splits on my screen as well as several tabs opened with 5-6 splits in each. Usually I use different tabs for different directories and logical workspaces to separate the work on feature A from the work on feature B or bug C and my notes.</p>
  
  <p><img src="https://i.stack.imgur.com/9PpVP.png" alt="enter image description here"></p>
  
  <p>Managing this madness becomes a problem when you have a lot of additional splits from plugins such as NERDTree, Fugitive, Gundo and many others who like to take additional splits. After such helper split opens and closes the whole set up has a change of distortion in height and width. I mean, some windows become to small, some become larger than they were initially (and I manually have to adjust their height and width with <code>CTRL+W &gt;</code> and <code>CTRL+W &lt;</code> and friends.</p>
  
  <p>Usually it's faster to do resize every split with mouse but it's not even close to the Vim way.</p>
  
  <p>Sometimes I even want to swap some splits or move on split to the right. <code>CTRL+W HJKL</code> don't always help as they kick splits too far and distort sizes again. Rotation <code>CTRL+W r</code> works only on simple cases.</p>
  
  <p>How do you manage lots of buffers, splits, and tabs?</p>
  
  <p><strong>Edit</strong>: I see there are votes for closing. The question might seem too general to you, so there is a more concrete one: what is a good workflow of working with lots of buffers and splits? (One of the answers is to promote splits to separate tabs when it needs more space)</p>