summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-12-08 20:41:05 +0100
committerAlan Pearce2020-12-08 20:41:05 +0100
commite81c4c78f9491816408a7fc91bc2b90826825863 (patch)
tree0cf7eda74d34e7f42fba017cf2dc8412c5ebf6fd
parentb98c2eb15be078c670b80d762b79c3223c2de428 (diff)
downloadnixfiles-e81c4c78f9491816408a7fc91bc2b90826825863.tar.lz
nixfiles-e81c4c78f9491816408a7fc91bc2b90826825863.tar.zst
nixfiles-e81c4c78f9491816408a7fc91bc2b90826825863.zip
Emacs: install and enable ivy-prescient
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix2
2 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 7cd3cb7c..09d11ae1 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -171,6 +171,10 @@ With two prefix arguments, write out the day and month name."
   :defer 1
   :config (progn
             (ivy-mode +1)))
+(use-package ivy-prescient
+  :after counsel
+  :config (progn
+            (ivy-prescient-mode +1)))
 (use-package ivy-hydra
   :defer 2)
 
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 525c7603..4e150a54 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -157,6 +157,8 @@ in
       paredit
       php-mode
       posframe
+      prescient
+      ivy-prescient
       projectile
       projectile-ripgrep
       quickrun