emacs: sort minibuffer completion candidates by frecency
Alan Pearce alan@alanpearce.eu
Sun, 02 Apr 2023 11:13:04 +0200
2 files changed, 6 insertions(+), 0 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -223,6 +223,11 @@ (add-to-list 'savehist-additional-variables 'command-history))) (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
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -150,6 +150,7 @@ tree-sitter-indent undo-tree use-package vertico + vertico-prescient wucuo wgrep-ag ws-butler