Add the ability to change the initial query in consult-completion-in-region
#956
-
I like to add a space to my completion queries, as I use
with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Huh, this is an interesting idea. I also use |
Beta Was this translation helpful? Give feedback.
-
Indeed, this could makes sense. Right now we support overriding the Maybe you also want to emulate (setf (alist-get #'consult-completion-in-region vertico-multiform-commands)
(list (lambda (_) (insert " ")))) So maybe the solution via |
Beta Was this translation helpful? Give feedback.
Indeed, this could makes sense. Right now we support overriding the
:initial
string viaconsult-customize
but not transforming the string. Maybe we find a general way to neatly add this to the existing commands. However I wonder if this feature would end up being used much. As @oantolin mentioned he does not always add SPC, just frequently.Maybe you also want to emulate
ivy-initial-inputs-alist
for other commands? So far I've considered this feature out of scope of Vertico and Ivy. I don't plan to add every customization option from Ivy to Vertico, but a lot of features can be implemented via the generalvertico-multiform-mode
, also this one: