How do I move the current window to the far left of the screen?
Answer
<C-w>H
Explanation
The <C-w>H command moves the current window to the far left, making it a full-height vertical split. It changes the window layout structure.
How it works
<C-w>Hmoves the window to the far left<C-w>Jmoves it to the very bottom<C-w>Kmoves it to the very top<C-w>Lmoves it to the far right
Example
With a horizontal split (top/bottom), pressing <C-w>H in the bottom window converts it to a vertical split (left/right).
Tips
- These uppercase commands change the layout structure
- Lowercase
<C-w>h/j/k/ljust moves the cursor between windows - Useful for reorganizing your window layout
<C-w>rrotates windows within the current row/column- Works with any number of windows