I use Vim to do some C coding and for this I installed the YouCompleteMe extension. This extension, among other things, provides source code autocompletion and when I select an item within the menu, a new buffer is opened and it disappears when I choose the right autocompletion alternative.
If I have a split window setup and I have resized windows (for instance, enlarging the window at the top), each time the new buffer appears and then disappears, the smaller window gets enlarged again, forcing me to run the command
10^W+ each time that buffer appears. This is quite annoying: is there a way to tell ViM to "preserve windows sizes"?