From 30a21f26c9cabff9794e37abedfb31b971c578a0 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Tue, 30 Mar 2021 14:04:52 -0400 Subject: [PATCH] Switch from undo-tree to Emacs 28 undo/redo --- config.org | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/config.org b/config.org index 0ae79f5..89b6824 100644 --- a/config.org +++ b/config.org @@ -219,16 +219,10 @@ tpope prevails! ("gc" . evilnc-comment-or-uncomment-lines)) :custom (evilnc-invert-comment-line-by-line nil)) #+end_src -** Undo tree -Fix the oopsies! Maybe replace with undo-fu or Emacs 28 built in undo-redo. +** Undo redo +Fix the oopsies! #+begin_src emacs-lisp - (use-package undo-tree - :custom - (undo-tree-auto-save-history t) - (undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo-tree"))) - :config - (global-undo-tree-mode) - (evil-set-undo-system 'undo-tree)) + (evil-set-undo-system 'undo-tree) #+end_src ** Number incrementing Add back C-a/C-x -- 2.39.2