8

How can I direct helm-projectile-ag and helm-projectile-grep to search for an exact string?

If I enclose a string in quotes, I get no results. If I don't, I get fuzzy matching.

incandescentman
  • 4,111
  • 16
  • 53

1 Answers1

4

Fuzzy matching should be switched off by default, but if you have a space character in your pattern it will turn fuzzy matching on.

If your query didn't have spaces, check your emacs config and make sure helm-ag-fuzzy-match isn't set to t.

For space characters in your pattern you should use the regex \s.

alecvn
  • 419
  • 2
  • 12