Vi(m) tip #7: resize vertical split screen

Alec Jacobson

April 19, 2010

weblog/

You can resize vertical split screen windows in vim using the following commands. To make the current window shrink in width (you can precede these with numbers):
<CTRL>+W <
and similarly to grow in width
<CTRL>+W >
To make the current window full width:
<CTRL>+W |
To return to equal widths
<CTRL>+W =