How do I go for from a formation like this

..........................................................
.                            .                           .
.                            .                           .
.             3              .                           .
.                            .                           .
.                            .                           .
..............................              1            .
.                            .                           .
.                            .                           .
.             2              .                           .
.                            .                           .
.                            .                           .
.                            .                           .
..........................................................

To one like this

..........................................................
.                                                        .
.                                                        .
.                             3                          .
.                                                        .
.                                                        .
..........................................................
.                             .                          .
.                             .                          .
.                             .                          .
.            2                .             1            .
.                             .                          .
.                             .                          .
.                             .                          .
..........................................................
link|improve this question

61% accept rate
feedback

2 Answers

up vote 1 down vote accepted

Control-W K (note that the "K" must be shift+k (uppercase k)) will move the window your cursor is in to the very top of the screen, making it full width.

See ":help window-moving".

link|improve this answer
feedback

You can use ^w H, ^w J, ^w K, and ^w L to move the split windows. (Note the capital letters. If you were to do without holding shift, it would just change which window was focused).

So with your example, you could just move to window 3 and press ^W K.

link|improve this answer
These are definitely not native Vim commands. See my answer. – Heptite Apr 30 '11 at 23:56
Shoot, forgot that they were ^W (letter) and not just ^(letter). – Wuffers Apr 30 '11 at 23:58
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.