Vim Recall繁體中文

Load from viminfo file

:rviminfo

Example

Normal 0 / 2
notes
Cursor on line 1, column 1

Load from viminfo file.

Vim registers

a Register a
Characterwisecurrent
· space ⇥ tab ↵ line break
Before & after
Before
notes
Cursor on line 1, column 1

Vim registers

a Register a
Characterwisecurrent
· space ⇥ tab ↵ line break
After
notes
Cursor on line 1, column 1

Vim registers

a Register a Changed
Characterwisesaved
· space ⇥ tab ↵ line break

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.