updated config for undo-tree to enable the undos in a central dir
This commit is contained in:
parent
7ea4893afd
commit
975f872806
1 changed files with 5 additions and 1 deletions
|
@ -672,7 +672,11 @@
|
|||
(use-package undo-tree
|
||||
:config
|
||||
(global-undo-tree-mode)
|
||||
)
|
||||
(setq undo-tree-auto-save-history t)
|
||||
(let ((undo-dir (expand-file-name "undo" user-emacs-directory)))
|
||||
(unless (file-exists-p undo-dir)
|
||||
(make-directory undo-dir t))
|
||||
(setq undo-tree-history-directory-alist `(("." . ,undo-dir)))))
|
||||
|
||||
(use-package vertico
|
||||
:init
|
||||
|
|
Loading…
Reference in a new issue