From 0ce939e3bfdf0e2bcd61bb833046861b31e88c7b Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 3 Aug 2020 04:36:45 +0200 Subject: [PATCH] Enable prescient persist mode --- .emacs.d/config.org | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 0979ebc..1621365 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -188,9 +188,17 @@ Install and configure packages. (use-package selectrum :config (selectrum-mode)) - (use-package selectrum-prescient + (use-package prescient :after selectrum - :config (selectrum-prescient-mode)) + :config + (setq prescient-filter-method '(literal regexp fuzzy)) + (setq prescient-save-file (concat dot-cache-dir "/prescient-save.el")) + (prescient-persist-mode)) + + (use-package selectrum-prescient + :after (selectrum prescient) + :config + (selectrum-prescient-mode)) (use-package avy :defer t)