Files
.emacs.d/modules/editor/siren-undo-fu.el
Jim Myhrberg 177f075853 feat(editor): replace undo-tree with undo-fu and vundo
Also replace undohist with undo-fu-session.

Overall this seems to yield a more reliable undo history, as undo-fu and
vundo supposedly operate with vanilla emacs undo history state, while
undo-tree supposedly does some custom tweaks to the undo state.
2022-04-26 23:39:48 +01:00

23 lines
434 B
EmacsLisp

;;; siren-undo-fu.el --- jimeh's Emacs Siren: undo-fu configuration.
;;; Commentary:
;; Basic configuration for undo-fu.
;;; Code:
(use-package undo-fu
:demand
:general
("M--" 'undo-fu-only-undo)
("M-_" 'undo-fu-only-redo)
("s-z" 'undo-fu-only-undo)
("s-Z" 'undo-fu-only-redo)
:custom
(undo-fu-allow-undo-in-region nil)
(undo-fu-ignore-keyboard-quit t))
(provide 'siren-undo-fu)
;;; siren-undo-fu.el ends here