Skip to content

Add the ability to change the initial query in consult-completion-in-region #956

Answered by minad
NightMachinery asked this question in Q&A
Discussion options

You must be logged in to vote

Indeed, this could makes sense. Right now we support overriding the :initial string via consult-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 general vertico-multiform-mode, also this one:

(setf (alist-get #'consult-completion-in-region

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@NightMachinery
Comment options

Answer selected by minad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #954 on February 25, 2024 08:04.