feat: enable vertico-cycle and call hook when appropriate

This commit is contained in:
Laurens Miers 2025-05-27 11:49:59 +02:00
parent 377a5cadff
commit 80b3e4dbc1

View file

@ -322,15 +322,14 @@ C-c C-c to apply."
** Minibuffer ** Minibuffer
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;; Enable vertico
(use-package vertico (use-package vertico
;; :custom :custom
;; (vertico-scroll-margin 0) ;; Different scroll margin ;; (vertico-scroll-margin 0) ;; Different scroll margin
;; (vertico-count 20) ;; Show more candidates ;; (vertico-count 20) ;; Show more candidates
;; (vertico-resize t) ;; Grow and shrink the Vertico minibuffer ;; (vertico-resize t) ;; Grow and shrink the Vertico minibuffer
;; (vertico-cycle t) ;; Enable cycling for `vertico-next/previous' (vertico-cycle t) ;; Enable cycling for `vertico-next/previous'
:init :hook (after-init . vertico-mode)
(vertico-mode)) )
#+END_SRC #+END_SRC
** Consult ** Consult