Split the window horizontally
Ctrl-w s
Example
Normal 0 / 1Normal 1 / 1Open another view above or below.
Windows
- Window 1 · alpha.txt Active
80 columns × 23 lines
Tab pages
- Tab 1 Active
alpha.txt
Open another view above or below
Windows
- Window 2 · alpha.txt Active
80 columns × 11 lines
- Window 1 · alpha.txt
80 columns × 10 lines
Tab pages
- Tab 1 Active
alpha.txt, alpha.txt
Before & after
Before
Windows
- Window 1 · alpha.txt Active
80 columns × 23 lines
Tab pages
- Tab 1 Active
alpha.txt
After
Windows
- Window 2 · alpha.txt Active
80 columns × 11 lines
- Window 1 · alpha.txt
80 columns × 10 lines
Tab pages
- Tab 1 Active
alpha.txt, alpha.txt
Start in Normal mode. Window labels are stable example identifiers, not Vim window numbers. The panel shows observed positions, sizes and the active window in an 80-column example workspace.
one two
three four
five six
keepCursor on line 1, column 1Details & Vim help
Example replayed in Vim
Open another view above or below.
Ctrl-w followed by s splits horizontally, showing the same buffer in another window. splitbelow controls which side receives the new window.