Dump all undo tree history files in one directory

This commit is contained in:
Adam Goldsmith 2022-03-14 01:31:05 -04:00
parent cf1edbc049
commit ef363257a0
2 changed files with 4 additions and 1 deletions

View File

@ -477,7 +477,9 @@
:config :config
(bind-key "M-/" 'undo-tree-visualize) (bind-key "M-/" 'undo-tree-visualize)
(global-undo-tree-mode) (global-undo-tree-mode)
(setq undo-tree-enable-undo-in-region nil)) (setq undo-tree-enable-undo-in-region nil
undo-tree-history-directory-alist
`(("." . ,(concat user-emacs-directory "undo-tree-hist")))))
(use-package hydra :ensure :demand (use-package hydra :ensure :demand
:config :config

1
.gitignore vendored
View File

@ -31,3 +31,4 @@
/.emacs.d/eshell/history /.emacs.d/eshell/history
/.emacs.d/eaf/ /.emacs.d/eaf/
/.emacs.d/recentf /.emacs.d/recentf
/.emacs.d/undo-tree-hist/