diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 74f2ab1..b683a04 100755 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -5122,6 +5122,22 @@ An alternative minibuffer completion framework: (setq xref-show-xrefs-function #'ivy-xref-show-xrefs)) #+END_SRC +[[https://github.com/raxod502/prescient.el][Prescient.el]] adds sorting and filtering to completion candidates: +#+begin_src emacs-lisp + (use-package prescient) + + (use-package ivy-prescient + :after (prescient ivy) + :config + (ivy-prescient-mode) + (prescient-persist-mode) + :custom + (ivy-prescient-enable-filtering nil) + (ivy-prescient-sort-commands '(:not swiper + swiper-isearch + counsel-imenu + counsel-M-x))) +#+end_src * graphviz #+BEGIN_SRC emacs-lisp