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

flukus
  • 275
  • 1
  • 4

1 Answers1

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.

muru
  • 24,838
  • 8
  • 82
  • 143