From d20b926079b14340c3f5e59007de998089413c43 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 22 Apr 2023 23:09:08 +0200 Subject: emacs: persist additional projectile variables --- user/emacs/init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/user/emacs/init.el b/user/emacs/init.el index ee6d43cc..b071d2f2 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -225,7 +225,13 @@ With two prefix arguments, write out the day and month name." (use-package savehist :init (savehist-mode +1) :config (progn - (add-to-list 'savehist-additional-variables 'command-history))) + (add-to-list 'savehist-additional-variables 'command-history) + (add-to-list 'savehist-additional-variables 'projectile-configure-cmd-map) + (add-to-list 'savehist-additional-variables 'projectile-compilation-cmd-map) + (add-to-list 'savehist-additional-variables 'projectile-install-cmd-map) + (add-to-list 'savehist-additional-variables 'projectile-package-cmd-map) + (add-to-list 'savehist-additional-variables 'projectile-test-cmd-map) + (add-to-list 'savehist-additional-variables 'projectile-run-cmd-map))) (use-package vertico :ghook ('after-init-hook #'vertico-mode)) -- cgit 1.4.1