feat: enable vertico-cycle and call hook when appropriate
This commit is contained in:
parent
377a5cadff
commit
80b3e4dbc1
1 changed files with 4 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue