End completion and go back to original text
Ctrl-e (wildmenu)
Example
Command-line 0 / 1Command-line 1 / 1End completion and go back to original text.
Command line
- Typed text
:edit alpha.txt- Insertion offset
15
Active completion
- Configuration
wildmenu, wildmode=full, wildoptions= (no pum)- Original
:edit al- Selected
alpha.txt- Candidates
alpha.txt alpine.txt
Ctrl-e cancels completion and restores the original al prefix; the command has not run.
Command line
- Typed text
:edit al- Insertion offset
8
Completion state
- Configuration
wildmenu, wildmode=full, wildoptions= (no pum)- Completion
inactive
Before & after
Before
Command line
- Typed text
:edit alpha.txt- Insertion offset
15
Active completion
- Configuration
wildmenu, wildmode=full, wildoptions= (no pum)- Original
:edit al- Selected
alpha.txt- Candidates
alpha.txt alpine.txt
After
Command line
- Typed text
:edit al- Insertion offset
8
Completion state
- Configuration
wildmenu, wildmode=full, wildoptions= (no pum)- Completion
inactive
Documentation-backed illustration. the displayed completion candidates and selection are prepared; 'wildmenu' documents this key's special meaning. Ctrl-e cancels completion and restores the original al prefix; the command has not run. Primary help: 'wildmenu'.
alpha
beta
gammaCursor on line 1, column 1Details & Vim help
End completion and go back to original text. Context: commands in wildmenu mode (see 'wildmenu'). Parenthesized context labels in the displayed keys are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.