diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-10-14 16:37:37 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-10-14 16:37:37 +0100 |
commit | 5812e11f2d5c0a2f4473a995e2918575ff52d146 (patch) | |
tree | 509fb59b7666400359aa218d9cd7a22491a68bce /.emacs.d/lisp/init-minibuffer.el | |
parent | 5edc8a842fd3c0ab6a654aea33a9875820b65660 (diff) | |
download | dotfiles-5812e11f2d5c0a2f4473a995e2918575ff52d146.tar.gz |
Fix vertico-repeat and try vertico-{indexed,quick}
Diffstat (limited to '.emacs.d/lisp/init-minibuffer.el')
-rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index 83720c1..80f3603 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -7,7 +7,7 @@ (use-package vertico :straight (vertico :files (:defaults "extensions/*") - :includes (vertico-directory vertico-repeat)) + :includes (vertico-directory vertico-repeat vertico-indexed vertico-quick)) :hook (emacs-startup . vertico-mode) :custom (vertico-cycle t) :config @@ -142,7 +142,22 @@ DEFS is a plist associating completion categories to commands." :hook (rfn-eshadow-update-overlay . vertico-directory-tidy)) (use-feature vertico-repeat - :bind ("<f9>" . vertico-repeat)) + :bind ("<f9>" . vertico-repeat) + :hook (minibuffer-setup . vertico-repeat-save) + :config + (add-to-list 'savehist-additional-variables 'vertico-repeat-history)) + +(use-feature vertico-indexed + :after vertico + :demand t + :config (vertico-indexed-mode 1)) + +(use-feature vertico-quick + :after vertico + :demand t + :bind (:map vertico-map + ("C-;" . vertico-quick-insert) + ("C-'" . vertico-quick-exit))) (use-package consult :bind (;; C-c bindings (mode-specific-map) |