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
#+BEGIN_SRC emacs-lisp
;; Enable vertico
(use-package vertico
;; :custom
:custom
;; (vertico-scroll-margin 0) ;; Different scroll margin
;; (vertico-count 20) ;; Show more candidates
;; (vertico-resize t) ;; Grow and shrink the Vertico minibuffer
;; (vertico-cycle t) ;; Enable cycling for `vertico-next/previous'
:init
(vertico-mode))
(vertico-cycle t) ;; Enable cycling for `vertico-next/previous'
:hook (after-init . vertico-mode)
)
#+END_SRC
** Consult