Load undo information from a file
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Load undo information from a file.
Undo history
- Current text
blue- Available undo
none
Command entered · ready to apply
Undo history
- Current text
blue- Available undo
none
Loads matching saved undo history; text remains blue until an undo command is issued.
Undo history
- Current text
blue- Available undo
red
Before & after
Before
Undo history
- Current text
blue- Available undo
none
After
Undo history
- Current text
blue- Available undo
red
Subject: :rundo. Documentation-backed illustration; assumes +persistent_undo, readable valid undo file whose text hash matches current blue buffer; not replay-verified. Loads matching saved undo history; text remains blue until an undo command is issued.
blueCursor on line 1, column 1Details & Vim help
Load undo information from a 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 :rund[o] 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.