You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use consult-ripgrep heavily when moving around code, and I make extensive use of the two part search of #regexps#filter-string. However, I only recently realised that FILTER-STRING operates on the WHOLE match. I mistakenly believed that it specifically acted on the file path.
Is it possible to configure consult-ripgrep, or consult in general, to restrict FILTER-STRING to the filename part? For example, appending the pattern [^:]*: means that FILTER-STRING can only match in the first part of the result, which I believe is the file path
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I use
consult-ripgrepheavily when moving around code, and I make extensive use of the two part search of#regexps#filter-string. However, I only recently realised that FILTER-STRING operates on the WHOLE match. I mistakenly believed that it specifically acted on the file path.Is it possible to configure
consult-ripgrep, orconsultin general, to restrict FILTER-STRING to the filename part? For example, appending the pattern[^:]*:means that FILTER-STRING can only match in the first part of the result, which I believe is the file pathAll reactions