Vim Recall繁體中文

Complete a command line or extend an incremental search

Ctrl-l

Example

Command-line 0 / 1

Complete a command line or extend an incremental search.

Command line

Prompt
:set wildi
Insertion column
10
Editing mode
Insert
Completion menu
inactive

Vim messages

Empty
Last status message
Last warning
Before & after

Before

Command line

Prompt
:set wildi
Insertion column
10
Editing mode
Insert
Completion menu
inactive

Vim messages

Empty
Last status message
Last warning

After

Command line

Prompt
:set wildignore
Insertion column
15
Editing mode
Insert
Completion menu
inactive

Vim messages

Empty
Last status message
Last warning

Start in Command-line mode. Completion is confined to built-in option names beginning with wildi; no filesystem completion is used.

Sample buffer
one two
three four
five six
keep
Cursor on line 1, column 1
Details & Vim help

Example replayed in Vim

On a command line with completion, Ctrl-l completes to the longest common prefix. When an incremental search has a displayed match, it adds one character from that match instead.