Can't seem to get exact match to work in the MiniPick live grep #1998
-
Contributing guidelines
Module(s)mini.pick QuestionI've got the following keymap for MiniPick:
When I try it in my When I prefix it with a I've got to be missing something obvious here |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Prepending query with |
Beta Was this translation helpful? Give feedback.
Prepending query with
'
results in the exact match only when matching is done withdefault_match()
. That is usually the case for pickers exceptgrep_live
which treats query/prompt directly as pattern to match using CLI tool (rg
by default). So typingcallback
in prompt in this case already matches it non-fuzzy. If prepended with'
, it tries to match pattern'callback
, which it can not.