Equivalent to :, edit a command line
Ctrl-w :
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Equivalent to :, edit a command line.
Enter an empty Ex command line.
Command line
- Input
:
Enable line numbers in the illustrated active window.
Window options
- number
on
Before & after
Before
After
Window options
- number
on
ILLUSTRATION. The ordinary text buffer is active. Ctrl-w : enters the same command line as :; complete with set number.
one two
three fourCursor on line 1, column 1Details & Vim help
Equivalent to :, edit a command line. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.