Browse Source

Emacs: Store undo history in the cache directory

master
Riyyi 3 years ago
parent
commit
a36cbbe4eb
  1. 5
      .config/emacs/config/evil.org

5
.config/emacs/config/evil.org

@ -11,7 +11,10 @@ Evil mode and related packages.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package undo-tree (use-package undo-tree
:config (global-undo-tree-mode)) :config
(setq undo-tree-auto-save-history t)
(setq undo-tree-history-directory-alist `(("." . ,(concat dot-cache-dir "/undo-tree"))))
(global-undo-tree-mode))
(use-package goto-chg) (use-package goto-chg)

Loading…
Cancel
Save