Window commands, see CTRL-W
Ctrl-w {char}
Example
Normal 0 / 2Prefix pending 1 / 2Normal 2 / 2Window commands, see CTRL-W.
Await a window command.
Split vertically; both windows show the same buffer.
Illustrated windows
- example.txt Active
New active left window- example.txt
Original right window
Before & after
Before
After
Illustrated windows
- example.txt Active
New active left window- example.txt
Original right window
ILLUSTRATION. Choose v as the continuation; splitright is off and there is space for a split.
one two
three fourCursor on line 1, column 1Details & Vim help
Window commands, see CTRL-W. Use in Normal mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.