How do I move around and otherwise rearrange splits in vim?
Problem
So far, I've figured out swapping splits laterally via , and that's pretty much it. How do I move a split anywhere in a viewport that contains multiple vertical and horizontal splits? How do I create a horizontal split that, say, spans the entire top half of the screen after I have already opened a few vertical splits? (Currently, when I create a new horizontal split in an already-vertically-split viewport, I get a horizontal split in one of the columns.) Perhaps most vim users prefer tabs over splits, but I really like the latter because I work on a 30" monitor! :-)
Error Output
CTRL+W x
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How do I move around and otherwise rearrange splits in vim?
I'm sure the help file covers it, but to move a split to cover the top of the screen, you can do (i.e., Ctrl+W Shift+K), with H = left, J = bottom, K = top, L = right (following usual / conventions). Note that the letters are uppercase. (i.e., Ctrl+W K, without Shift) will instead move up between splits, etc.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix