From db54c35ed56ea54a3477d5a68490b4d483d5572b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 24 Mar 2023 07:17:22 +0100 Subject: emacs: save recent files and command history between sessions --- user/emacs/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 7c214a43..60ad8072 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -229,6 +229,12 @@ With two prefix arguments, write out the day and month name." (use-package hydra :defer 2) +(recentf-mode +1) +(use-package savehist + :init (savehist-mode +1) + :config (progn + (add-to-list 'savehist-additional-variables 'command-history))) + (fido-vertical-mode +1) (setq completion-ignore-case t -- cgit 1.4.1