diff options
author | Alan Pearce | 2023-04-02 11:13:04 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-02 11:13:04 +0200 |
commit | c7a1a39e27b0fc94183d14912ab47a394fa90d41 (patch) | |
tree | ff286f1a4faffef4149aeb04be5466f155b87fa7 /user | |
parent | 5a547ea64dd1bb5c5b8b78fa7afb5d92d2dd19cd (diff) | |
download | nixfiles-c7a1a39e27b0fc94183d14912ab47a394fa90d41.tar.lz nixfiles-c7a1a39e27b0fc94183d14912ab47a394fa90d41.tar.zst nixfiles-c7a1a39e27b0fc94183d14912ab47a394fa90d41.zip |
emacs: sort minibuffer completion candidates by frecency
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 5 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 4280600b..e8c3bed0 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -223,6 +223,11 @@ With two prefix arguments, write out the day and month name." (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 diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index bd26a8fe..fe9cbe11 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -150,6 +150,7 @@ in undo-tree use-package vertico + vertico-prescient wucuo wgrep-ag ws-butler |