vim – Resizing your vim buffer

To resize your buffer up and down type the following:

To resize your buffer left and right, type the following:

You could make a mapping to do these without pressing the ctrl-w key combo first.
Something like this for the vertical stuff:

You have to put that in your .vimrc file.

Leave a Reply

You must be logged in to post a comment.