summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-04-06 21:01:03 +0200
committerAlan Pearce2023-04-06 21:01:03 +0200
commit29e2f18e1d71e016033307cd53e9184424093420 (patch)
tree108071011e8cf6fd06a410ec2e3912a6134e9e25 /user/emacs
parent597fc86826658abc3aec72d965d5be47dec2d8e3 (diff)
downloadnixfiles-29e2f18e1d71e016033307cd53e9184424093420.tar.lz
nixfiles-29e2f18e1d71e016033307cd53e9184424093420.tar.zst
nixfiles-29e2f18e1d71e016033307cd53e9184424093420.zip
emacs: store more minibuffer history
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 5f2ae4e4..9542a732 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -220,7 +220,9 @@ With two prefix arguments, write out the day and month name."
 (use-package vertico
   :ghook ('after-init-hook #'vertico-mode))
 (use-package prescient
-  :config (prescient-persist-mode +1))
+  :config (progn
+            (setq prescient-history-length 10000)
+            (prescient-persist-mode +1)))
 (use-package vertico-prescient
   :after vertico
   :ghook '(vertico-mode-hook))