From b4f7941eab1f87ac071d1677a2ed752c72e0fc60 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Tue, 27 Apr 2021 21:49:01 -0400 Subject: [PATCH] Add prescient candidate sorting --- modules/interface.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/interface.org b/modules/interface.org index 4d78cc8..9ae96c9 100644 --- a/modules/interface.org +++ b/modules/interface.org @@ -74,6 +74,18 @@ Provide more information about each item in the completion menu with *Ivy rich*[ :init (ivy-rich-mode 1)) #+end_src +** Candidate sorting + +Sort completion candidates based on how recently or frequently they're selected. This can be helpful when using =M-x= to run commands that aren't bound to specific key-strokes. + +#+begin_src emacs-lisp +(use-package ivy-prescient + :after counsel + :custom (ivy-prescient-enable-filtering nil) + :config (prescient-persist-mode 1) + (ivy-prescient-mode 1)) +#+end_src + * Unified fonts Write out to all of Emacs' available font faces with the unified font defined in the options.