Vim. Splitting viewport
- :sp: will split the Vim window horizontally. Can be written out entirely as :split
- :vsp: will split the Vim window vertically. Can be written out as :vspliti.
- :sp filename
- Ctrl-w q: will close the active window.
- Ctrl-w n: create new
- Ctrl-w Ctrl-w: moves between Vim viewports.
Ctrl+w followed by H,
J, K or L (capital)
will move the current window to the far left, bottom, top or
right respectively like normal cursor navigation.