From 6e1663f4c356def5eb6f41b1ea9d8c363912b17d Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 28 Sep 2025 09:59:30 +0200 Subject: [PATCH] Try out `vundo` --- init.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 712071e..b0ab057 100644 --- a/init.el +++ b/init.el @@ -393,6 +393,11 @@ (use-package url :init (setq url-configuration-directory (expand-file-name "url" emacs-d-userdata))) +(use-package vundo + :pin "gnu" + :ensure t + :init (setopt vundo-glyph-alist vundo-unicode-symbols)) + (use-package window :init (setopt switch-to-buffer-obey-display-actions nil switch-to-buffer-in-dedicated-window 'pop @@ -3063,8 +3068,7 @@ Note that this workaround is incomplete, as explained in this comment." ;; Activate modes (packages) - (dolist (mode '(global-undo-tree-mode - minibuffer-depth-indicate-mode + (dolist (mode '(minibuffer-depth-indicate-mode ace-window-display-mode key-chord-mode which-key-mode @@ -3101,7 +3105,6 @@ Note that this workaround is incomplete, as explained in this comment." (bind-key "C->" #'mc/mark-next-like-this) (bind-key "C-M-\\" #'crux-cleanup-buffer-or-region) (bind-key "C-S-c C-S-c" #'mc/edit-lines) - (bind-key "C-Z" #'undo-tree-redo) (bind-key "C-c C-<" #'mc/mark-all-like-this) (bind-key "C-c D" #'define-word) (bind-key "C-c J" #'avy-goto-word-or-subword-1) @@ -3161,6 +3164,7 @@ Note that this workaround is incomplete, as explained in this comment." (bind-key [remap keyboard-quit] #'keyboard-quit-context+) (bind-key [remap kill-whole-line] #'crux-kill-whole-line) (bind-key [remap open-line] #'crux-smart-open-line-above) + (bind-key [remap undo] #'vundo) (unbind-key "" global-map) (unbind-key "" global-map)