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/emacs | |
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/emacs')
-rw-r--r-- | user/emacs/init.el | 5 |
1 files changed, 5 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 |