Adding consult--force to minibuffer content interactively? #1181
armindarvish
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
consult--force is an internal property of the splitter and handled by consult--async-min-input. I think it would be better to figure out a way which fits better to the API instead of trying to "hack" it somehow. In consult-omni I wonder if you can use consult--multi as provided by Consult now, since there still seems to be a lot of code duplication and custom code for static/dynamic/async sources. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@minad I have been trying to create a function that adds the
consult--foce
property to the minibuffer contents with the aim to bind it in theminibuffer-local-map
, so I can force a consult-async process (e.g. grep) to fetch results when the input is shorter than 'consult-async-min-input' with a key binding. But all my attempts so far have failed. It appears that the property gets stripped before the string gets toconsult--async-min-input
.Below is an example of the function I have tried
I even tried inserting propertized text and that did not work either. Here is a screenshot:

Any suggestions for how I may be able to implement this? or is this not possible (e.g. because of minibuffer and completing-read limitations)?
Beta Was this translation helpful? Give feedback.
All reactions