Last Updated: February 25, 2016
·
2.866K
· keyboardsurfer

Resize windows in vim

If you are using split views you can resize the window you're in by typing:

:res(ize) -N 
:res(ize) +N

to de/increase your window's width.

For vertical views you can use

CRTL+W <
CRTL+W >

to achieve the same.

To fast minimize a window type

:res _

To fast maximize a window type

CRTL+W _

Here's the full documentation

2 Responses
Add your response

I use :tab sp to quickly maximize. When I close the tab, I'm back in my old preserved view.

over 1 year ago ·

ctrl+w =

my favorite, re-sets all your splits to the same size

over 1 year ago ·