diff options
author | Alan Pearce | 2023-03-24 07:17:22 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-24 07:17:22 +0100 |
commit | db54c35ed56ea54a3477d5a68490b4d483d5572b (patch) | |
tree | ed72b4f85786e9e507d1b814a430c762eb7b5247 /user/emacs | |
parent | 33c38344aca751036d9fffd60bcbcf079e19fd66 (diff) | |
download | nixfiles-db54c35ed56ea54a3477d5a68490b4d483d5572b.tar.lz nixfiles-db54c35ed56ea54a3477d5a68490b4d483d5572b.tar.zst nixfiles-db54c35ed56ea54a3477d5a68490b4d483d5572b.zip |
emacs: save recent files and command history between sessions
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
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 |