Privacy Policy
© 2025 linux101.dev

Vim: Split Screens

Split screens allow you to view and edit multiple files or parts of the same file simultaneously.

CommandDescription
:split [file]Split the screen horizontally and open file in the new split.
:vsplit [file]Split the screen vertically and open file in the new split.
Ctrl + w, sSplit the current window horizontally.
Ctrl + w, vSplit the current window vertically.
Ctrl + w, wCycle through open windows.
Ctrl + w, h/j/k/lMove to the window left/down/up/right.
Ctrl + w, qClose the current window.