summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el5
-rw-r--r--user/settings/emacs.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 4280600b..e8c3bed0 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -223,6 +223,11 @@ 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))
+(use-package vertico-prescient
+  :after vertico
+  :ghook '(vertico-mode-hook))
 
 (setq completion-ignore-case t
       read-buffer-completion-ignore-case t
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index bd26a8fe..fe9cbe11 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -150,6 +150,7 @@ in
         undo-tree
         use-package
         vertico
+        vertico-prescient
         wucuo
         wgrep-ag
         ws-butler