Complete contents from registers
Ctrl-x Ctrl-r
Example
Insert 0 / 2Insert 1 / 2Insert 2 / 2alInsertion point on line 1, column 3alphaInsertion point on line 1, column 6alphaInsertion point on line 1, column 6Complete contents from registers.
Vim registers
aRegister a- Characterwise
alpha
Prepared register a
- Prepared data
alpha
Start this completion family and insert the prepared first candidate.
Vim registers
aRegister a- Characterwise
alpha
Prepared register a
- Prepared data
alpha
Prepared completion menu
- Selected
alpha
Accept the selected completion.
Vim registers
aRegister a- Characterwise
alpha
Prepared register a
- Prepared data
alpha
Before & after
alInsertion point on line 1, column 3Vim registers
aRegister a- Characterwise
alpha
Prepared register a
- Prepared data
alpha
alphaInsertion point on line 1, column 6Vim registers
aRegister a- Characterwise
alpha
Prepared register a
- Prepared data
alpha
ILLUSTRATION. Assume +insert_expand; other registers contain no al candidate; completeopt=menu,menuone (no noinsert/noselect). Sources are illustrated data, never files read by this module.
Details & Vim help
Complete contents from registers. 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.