Complete like in : command line
Ctrl-x Ctrl-v
Example
Insert 0 / 2Insert 1 / 2Insert 2 / 2set nuInsertion point on line 1, column 7set numberInsertion point on line 1, column 11set numberInsertion point on line 1, column 11Complete like in : command line.
Vim command context
- Prepared data
:set option completion
Start this completion family and insert the prepared first candidate.
Vim command context
- Prepared data
:set option completion
Prepared completion menu
- Selected
number
Accept the selected completion.
Vim command context
- Prepared data
:set option completion
Before & after
set nuInsertion point on line 1, column 7Vim command context
- Prepared data
:set option completion
set numberInsertion point on line 1, column 11Vim command context
- Prepared data
:set option completion
ILLUSTRATION. Assume +insert_expand; noautocomplete; the shown candidate is first in this prepared completion context; completeopt=menu,menuone (no noinsert/noselect). Sources are illustrated data, never files read by this module.
Details & Vim help
Complete like in : command line. Context: commands in CTRL-X submode *i_CTRL-X_index*. 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.