Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I go from a formation like this

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

to one like this

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

2 Answers 2

up vote 2 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".

share|improve this answer

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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