Reputation: 19577
This is not trivial case, so I show it by the screenshots. The first one is what I have:
And the second one is what I need:
I want to get the result by pressing some simple sequence like ^Wr
. Is it possible?
UPDATE
The most quick way I found the following:
^Wc
, ^Ws
^Wc
, ^Ws
, ^^
(CTRL+6)Upvotes: 2
Views: 77
Reputation: 195029
I see that your cursor is on middle window. If I were you, I would do:
:wq "(or ZQ depends on if you want to save the buffer)
to close middle window. Now your cursor should be on your left window, then:
:sp #
Upvotes: 1