mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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.
23 lines
434 B
EmacsLisp
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
|