Bikeshed vertico config
This commit is contained in:
parent
0b8f3a2240
commit
f61fb0fe50
|
@ -33,7 +33,8 @@
|
||||||
(use-package vertico
|
(use-package vertico
|
||||||
:init
|
:init
|
||||||
(vertico-mode)
|
(vertico-mode)
|
||||||
(setq vertico-cycle t)
|
:custom (vertico-cycle t)
|
||||||
|
:config
|
||||||
(advice-add #'vertico--format-candidate :around
|
(advice-add #'vertico--format-candidate :around
|
||||||
(lambda (orig cand prefix suffix index start)
|
(lambda (orig cand prefix suffix index start)
|
||||||
(setq cand (funcall orig cand prefix suffix index start))
|
(setq cand (funcall orig cand prefix suffix index start))
|
||||||
|
@ -42,7 +43,6 @@
|
||||||
(propertize "» " 'face 'vertico-current)
|
(propertize "» " 'face 'vertico-current)
|
||||||
" ")
|
" ")
|
||||||
cand)))
|
cand)))
|
||||||
:config
|
|
||||||
(defun define-vertico-key (key &rest defs)
|
(defun define-vertico-key (key &rest defs)
|
||||||
"Define KEY conditionally in the vertico keymap.
|
"Define KEY conditionally in the vertico keymap.
|
||||||
DEFS is a plist associating completion categories to commands."
|
DEFS is a plist associating completion categories to commands."
|
||||||
|
|
Loading…
Reference in New Issue