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 _
Written by Benjamin Weiss
Related protips
2 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#