summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el8
1 files changed, 7 insertions, 1 deletions
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))