Load from viminfo file
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2notesCursor on line 1, column 1notesCursor on line 1, column 1notesCursor on line 1, column 1Load from viminfo file.
Vim registers
aRegister a- Characterwise
current
Command entered · ready to apply
Vim registers
aRegister a- Characterwise
current
Loads the prepared viminfo. The ! overwrites existing register a and other stored information with the saved values.
Vim registers
aRegister a Changed- Characterwise
saved
Restored file marks
- /demo/notes.txt
line 3
Before & after
notesCursor on line 1, column 1Vim registers
aRegister a- Characterwise
current
notesCursor on line 1, column 1Vim registers
aRegister a Changed- Characterwise
saved
Restored file marks
- /demo/notes.txt
line 3
Subject: :rviminfo. Documentation-backed illustration; assumes +viminfo, viminfofile is not NONE and valid readable fixture stores the displayed information; not replay-verified. Loads the prepared viminfo. The ! overwrites existing register a and other stored information with the saved values.
Details & Vim help
Load from viminfo file. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :rv[iminfo] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.