mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Load custom-file & move undo-tree config to core-editor
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user