diff options
Diffstat (limited to 'config/init-base.el')
-rw-r--r-- | config/init-base.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/init-base.el b/config/init-base.el index d2c83cd..8c843f2 100644 --- a/config/init-base.el +++ b/config/init-base.el @@ -44,7 +44,13 @@ (recentf-mode t)) (use-package savehist + :ensure nil + :hook (after-init . savehist-mode) :config + (setq savehist-file (locate-user-emacs-file "savehist")) + (setq history-length 100) + (setq history-delete-duplicates t) + (setq savehist-save-minibuffer-history t) (savehist-mode t)) (use-package saveplace |