]> git.armaanb.net Git - config.org.git/commitdiff
Switch from undo-tree to Emacs 28 undo/redo
authorArmaan Bhojwani <me@armaanb.net>
Tue, 30 Mar 2021 18:04:52 +0000 (14:04 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 30 Mar 2021 18:04:52 +0000 (14:04 -0400)
config.org

index 0ae79f5cf93bd59d4c09e8ed55bc6a39f51cdd56..89b6824d60e6adb51b2c4d5db22d7c7fe26d0489 100644 (file)
@@ -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