Vim Recall繁體中文

Edit / command-line in command-line window

q/

Example

Normal 0 / 1
one two
three four
five six
keep
Cursor on line 1, column 1

Edit / command-line in command-line window.

Windows

Window 1 · [No Name] Active
80 columns × 23 lines

Buffers

1 · [No Name] Active
loaded · listed · alternate · one two ↩ three four
Before & after
Before
one two
three four
five six
keep
Cursor on line 1, column 1

Windows

Window 1 · [No Name] Active
80 columns × 23 lines

Buffers

1 · [No Name] Active
loaded · listed · alternate · one two ↩ three four
After
one
two
Cursor on line 3, column 1

Windows

Window 1 · [No Name]
80 columns × 14 lines
Window 2 · [No Name] Active
80 columns × 7 lines

Buffers

1 · [No Name]
loaded · listed · alternate · one two ↩ three four
2 · [No Name] Active
loaded · listed · one ↩ two

Start in Normal mode. The command-line window displays prepared command or search history as editable text. This example opens the window without submitting an entry.

Details & Vim help

Example replayed in Vim

Edit / command-line in command-line window. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.