0

For example, when calling consult-line-multi, the minibuffer starts with #, which is annoying when using C-a to edit the query.

1 Answer 1

2

It indicates that consult should split your query on #.

Consult splits your search query according to a style, defined by consult-async-split-style. The default style is 'perl, which allows you to define multiple search terms separated by the first character of the search box (with # inserted for your convenience) if it is a punctuation character.

For example

If you are searching for a line that contains both bytes and bin, you could type #bytes#bin into consult-line-multi and get search results like this: enter image description here

Note that both Bin and bytes are highlighted.

1
  • That helped, thanks!
    – guibor
    Commented May 20 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.