Vim Tips: window splits 0
I use Vim for pretty much everything on every machine I use. Using Vim requires constant learning of all the commands. Sometimes commands that I use get pushed out of my head by newer commands. Such is the case with splits. Here are a few commands that I find useful:
(You can find all the them here as well.)
:split - splits the current file into two panes
:split filename.c - splits the the window into 2 panes, one with filename.c, one with the current file.
CTRL-W + embiggens the pane by one line
CTRL-W - deembiggens the pane by one line
:close - close the current pane
:only - close all but the current pane
