Vim Recall繁體中文

Split the window horizontally

Ctrl-w s

Example

Normal 0 / 1

Open another view above or below.

Windows

Window 1 · alpha.txt Active
80 columns × 23 lines

Tab pages

Tab 1 Active
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.

Sample buffer
one two
three four
five six
keep
Cursor on line 1, column 1
Details & 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.