Windows can also be moved, swapped, and resized. Since there's no drag-and-drop functionality in Vim, there are some commands you will have to remember.
As with the rest of the window commands, these are prefixed by Ctrl + w.
Ctrl + w followed, by an uppercase movement key (H, J, K, or L) will move the current window to the corresponding position:
- Ctrl + w, H moves the current window to the leftmost part of the screen
- Ctrl + w, J moves the current window to the bottom of the ...