Previous: Yanking, Up: Text Handling

4.2.9 Undoing

u U
Undo the latest change.
.
Repeat undo.
:q!
Quit Vi without writing.
:e!
Re-edit a messed-up file.
:rec
Recover file from autosave. Viper also creates backup files that have a ‘~’ appended to them.