Disable undo-tree autosave
This commit is contained in:
parent
de30f33f3d
commit
1133ba17f1
1
init.el
1
init.el
|
@ -122,6 +122,7 @@
|
||||||
(use-package undo-tree
|
(use-package undo-tree
|
||||||
:after evil
|
:after evil
|
||||||
:config
|
:config
|
||||||
|
(setq undo-tree-auto-save-history nil)
|
||||||
(advice-add #'evil-undo :override #'undo-tree-undo)
|
(advice-add #'evil-undo :override #'undo-tree-undo)
|
||||||
(advice-add #'evil-redo :override #'undo-tree-redo)
|
(advice-add #'evil-redo :override #'undo-tree-redo)
|
||||||
(define-key evil-normal-state-map (kbd "SPC u v") #'undo-tree-visualize)
|
(define-key evil-normal-state-map (kbd "SPC u v") #'undo-tree-visualize)
|
||||||
|
|
Loading…
Reference in a new issue