From 9135f3323604647618f8413309495c54117d25ff Mon Sep 17 00:00:00 2001 From: fpi Date: Mon, 22 Mar 2021 19:39:49 +0100 Subject: Add vundo --- emacs-init.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emacs-init.org b/emacs-init.org index e3aff7c..ddc9153 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -5865,6 +5865,14 @@ Emacs undo mechanic can be confusing. =undo-tree= is a great package but is prone to corruption and also does not allow undo based on the active region. +*** Vundo +=Vundo= is a promising alternative to =undo-tree=, that is compatible with the default emacs undo/redo system. Its function is described in detail in [[https://archive.casouri.cat/note/2021/visual-undo-tree/index.html][this blogpost]]. +#+begin_src emacs-lisp +(use-package vundo + :straight (:host github :repo "casouri/vundo" + :branch "master") + :bind (("M-_" . vundo))) +#+end_src *** Undo-propose :ARCHIVE: =undo-propose= shows undo changes in a temporary buffer. For the keybindings see [[elisp:(which-key-show-full-keymap -- cgit v1.2.3