Post

10 Stopping and undoing commands

KeystrokesCommand nameAction
C-gkeyboard-quitAbort current command.
C-x uadvertised-undoUndo last edit (can be done repeatedly).
C-_ Edit UndoundoUndo last edit (can be done repeatedly).
(none)revert-bufferRestore buffer to the state it was in when the file was last saved (or auto-saved).
This post is licensed under CC BY 4.0 by the author.