Vim Recall繁體中文

Equivalent to :, edit a command line

Ctrl-w :

Example

Normal 0 / 2

Equivalent to :, edit a command line.

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.

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