In Vim, is it possible to “move” a window to the left or right? Eg, similar to <c-w> r
or <c-w> x
, but left/right instead of up/down?
For example, if I’ve got this layout:
+---+---+---+
| | +---+
| A +---+---+
| | | |
+---+---+---+
I’d like to turn it into this:
+---+---+---+
| | +---+
+---+ A +---+
| | | |
+---+---+---+
Which is difficult/annoying to do with <c-w> {H,J,K,L}
.