Complete a command line or extend an incremental search
Ctrl-l
Example
Command-line 0 / 1Command-line 1 / 1Complete 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
Command line open · edit or submit
Command line
- Prompt
:set wildignore- Insertion column
15- 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.
one two
three four
five six
keepCursor on line 1, column 1Details & 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.