Open new window, the count lines high
Ctrl-w n
Example
Normal 0 / 1Normal 1 / 1one two
three four
five six
keepCursor on line 1, column 1Cursor on line 1, column 1Open new window, the count lines high.
Windows
- Window 1 · alpha.txt Active
80 columns × 23 lines
Buffers
- 1 · alpha.txt Active
loaded · listed · alternate · one two ↩ three four
Tab pages
- Tab 1 Active
alpha.txt
Command applied
Windows
- Window 2 · [No Name] Active
80 columns × 11 lines
- Window 1 · alpha.txt
80 columns × 10 lines
Buffers
- 1 · alpha.txt
loaded · listed · alternate · one two ↩ three four- 2 · [No Name] Active
loaded · listed
Tab pages
- Tab 1 Active
[No Name], alpha.txt
Before & after
one two
three four
five six
keepCursor on line 1, column 1Windows
- Window 1 · alpha.txt Active
80 columns × 23 lines
Buffers
- 1 · alpha.txt Active
loaded · listed · alternate · one two ↩ three four
Tab pages
- Tab 1 Active
alpha.txt
Cursor on line 1, column 1Windows
- Window 2 · [No Name] Active
80 columns × 11 lines
- Window 1 · alpha.txt
80 columns × 10 lines
Buffers
- 1 · alpha.txt
loaded · listed · alternate · one two ↩ three four- 2 · [No Name] Active
loaded · listed
Tab pages
- Tab 1 Active
[No Name], alpha.txt
Start in Normal mode. Window labels use the current window-ID order in each frame and can change after a window closes; they are separate from Vim window numbers. The panel shows observed positions, sizes and the active window in an 80-column example workspace.
Details & Vim help
Example replayed in Vim
Open new window, the count lines high. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.