summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-04-22 23:09:08 +0200
committerAlan Pearce2023-04-22 23:09:08 +0200
commitd20b926079b14340c3f5e59007de998089413c43 (patch)
tree116fd7488ac639b6026865137bb575d1ef49ca42 /user/emacs
parent9abfdd047d60f8762e19d1f6dc905b02866de771 (diff)
downloadnixfiles-d20b926079b14340c3f5e59007de998089413c43.tar.lz
nixfiles-d20b926079b14340c3f5e59007de998089413c43.tar.zst
nixfiles-d20b926079b14340c3f5e59007de998089413c43.zip
emacs: persist additional projectile variables
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))