Disable undo-tree autosave

This commit is contained in:
outfoxxed 2023-08-14 00:24:07 -07:00
parent de30f33f3d
commit 1133ba17f1
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -122,6 +122,7 @@
(use-package undo-tree
:after evil
:config
(setq undo-tree-auto-save-history nil)
(advice-add #'evil-undo :override #'undo-tree-undo)
(advice-add #'evil-redo :override #'undo-tree-redo)
(define-key evil-normal-state-map (kbd "SPC u v") #'undo-tree-visualize)