mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Personally I find orderless is giving me better results than prescient when fuzzy/flex matching is enabled. Hence the switch to orderless. I also split the modules apart to ensure, that selectrum, vertico, prescient and orderless can be mixed and matched however and work correctly. And the switch from to vertico from selectrum is mostly cause I like it's wraparound/cycle feature, where end/beginning of the candidate list will wrap around.
28 lines
562 B
EmacsLisp
28 lines
562 B
EmacsLisp
;;; siren-vertico.el --- jimeh's Emacs Siren: vertico configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for vertico.
|
|
|
|
;;; Code:
|
|
|
|
(use-package vertico
|
|
:custom
|
|
(resize-mini-windows nil)
|
|
(vertico-count 12)
|
|
(vertico-cycle t)
|
|
|
|
(enable-recursive-minibuffers t)
|
|
(resize-mini-windows nil)
|
|
|
|
:init
|
|
(defun siren-crm-indicator (args)
|
|
(cons (concat "[CRM] " (car args)) (cdr args)))
|
|
|
|
:config
|
|
(vertico-mode +1)
|
|
(advice-add #'completing-read-multiple :filter-args #'siren-crm-indicator))
|
|
|
|
(provide 'siren-vertico)
|
|
;;; siren-vertico.el ends here
|