Load custom-file & move undo-tree config to core-editor
This commit is contained in:
parent
b613fb773b
commit
be4be57a1a
2 changed files with 10 additions and 4 deletions
|
@ -57,6 +57,11 @@ modes are active and the buffer is read-only.")
|
|||
savehist-additional-variables '(kill-ring search-ring regexp-search-ring))
|
||||
(savehist-mode 1)
|
||||
|
||||
;; Branching & persistent undo
|
||||
(require 'undo-tree)
|
||||
(setq undo-tree-auto-save-history t
|
||||
undo-tree-history-directory-alist (list (cons "." (concat doom-cache-dir "undo-tree-hist/"))))
|
||||
|
||||
;; Keep track of recently opened files
|
||||
(require 'recentf)
|
||||
(setq recentf-save-file (concat doom-cache-dir "recentf")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue