[ACCEPTED]-Changing the size of the split screen in vimdiff-vim

Accepted answer
Score: 51

You can use any windowing command in vimdiff, for 10 example CTRL-w < to make the left window one column 9 smaller. This can also be combined with 8 a count, for example CTRL-W 5> to make the right 7 window 5 columns smaller. Consult the help 6 page with :help CTRL-w to get a list of window commands.

Additionally, you 5 can use the mouse to change the size of 4 the windows by clicking the boundary between 3 both windows and dragging it into a direction. You 2 might have to enable mouse support by issuing 1 :set mouse=a first.

More Related questions