Split the current window horizontally.

Section: Windows and splits

Horizontal split

vim
vim
:split
Explanation

Abbreviation: `:sp`.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Windows and splits
Vertical split
Split the current window vertically.
OpenIn sheetvimsame section
Move between windows
Navigate split panes from normal mode.
OpenIn sheetvimsame section
Close or maximize a window
Close a split or keep only the current one.
OpenIn sheetvimsame section
Open a file
Edit a file in the current window.
OpenIn sheetvim1 tag match
Create a new tab
Open a new tab page.
OpenIn sheetvim1 tag match
Move between buffers
Cycle through loaded buffers.
OpenIn sheetvim1 tag match