emacs: use native undo-redo instead of undo-tree package
Alan Pearce alan@alanpearce.eu
Sun, 30 Apr 2023 19:38:30 +0200
2 files changed, 2 insertions(+), 10 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -360,9 +360,8 @@ :demand t :commands (evil-mode evil-delete-buffer evil-ex-define-cmd) :config (progn (setq-default evil-shift-width 2) - (setq evil-mode-line-format nil - evil-undo-system 'undo-tree) - (evil-set-undo-system 'undo-tree) + (setq evil-mode-line-format nil) + (evil-set-undo-system 'undo-redo) (add-to-list 'evil-emacs-state-modes 'eshell-mode) (add-to-list 'evil-emacs-state-modes 'ledger-reconcile-mode) (evil-mode +1)) @@ -694,12 +693,6 @@ (electric-pair-mode +1) (use-package ws-butler :ghook ('prog-mode-hook)) - -(use-package undo-tree - :defer 1 - :config (progn - (setq undo-tree-auto-save-history nil) - (global-undo-tree-mode))) (use-package rainbow-mode :ghook ('(css-mode-hook
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -152,7 +152,6 @@ toml-mode tree-sitter tree-sitter-langs tree-sitter-indent - undo-tree use-package vertico vertico-prescient