5

Let's say I have a window layout like below:

[1][2]
[3..3]

And I want to expand window 2 to look like this:

[1][2]
[3][2]

So window 2 will now be full height

1 Answer 1

7

You can do this by moving window 2 rightwards (<C-W><S-L> or :wincmd L):

  • Initially, with focus on window 2:

    enter image description here

  • :wincmd L:

    enter image description here

To get back to the original arrangement from here, move window 3 downwards: focus on window 3, then <C-W><S-J> or :wincmd J.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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