To install this package, run in Emacs:
M-x package-install RET undo-fu RET
Undo/redo convenience wrappers to Emacs default undo commands. The redo operation can be accessed from a key binding and stops redoing once the initial undo action is reached. If you want to cross the initial undo boundary to access the full history, running [keyboard-quit] (typically C-g). lets you continue redoing for functionality not typically accessible with regular undo/redo. If you prefer [keyboard-quit] not interfere with undo behavior You may optionally set `undo-fu-ignore-keyboard-quit' & explicitly call `undo-fu-disable-checkpoint'.
########## Change Log ########## - Version 0.4 (2020-05-22) - Back-port ``undo-redo`` from Emacs-28, replace the redo logic with this function. - Fix continual redo in unconstrained mode trapping the user in a state where neither undo or redo can be performed. - Undo in *unconstrained* mode no longer uses ``undo-only``, matching redo behavior. - Raise an error when using undo commands when undo has been disabled for the buffer. *(was failing to set the checkpoint in this case).* - Version 0.3 (2020-03-03) - Support non-destructive commands between undo/redo actions without breaking the chain. Internally ``last-command`` is no longer used to detect changes. - Add ``undo-fu-ignore-keyboard-quit`` option for explicit non-linear behavior. - Support using ``undo-fu-only-redo`` after regular ``undo`` / ``undo-only``. - Version 0.2 (2020-01-12) - Linear redo support (which wont undo). - Evil-Mode attribute not to repeat these undo/redo actions. - Fix counting bug with ``undo-fu-only-redo-all``. - Add ``undo-fu-allow-undo-in-region`` option. - Version 0.1 (2019-12-14) Initial release.