Timeline for How to filter search results by path pattern?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 23, 2021 at 14:29 | vote | accept | achempion | ||
| Jul 22, 2021 at 13:25 | history | edited | dalanicolai | CC BY-SA 4.0 | added 1253 characters in body |
| Jul 22, 2021 at 13:22 | comment | added | dalanicolai | Okay, I did not get the fuzzy search requirement from your question. Anyway, I think you would have to write some elisp yourself. Fortunately it looks like a nice exercise... I will edit the answer to add a very simple example. Of course, you can process the search results more thoroughly, e.g. to apply the grep only to the path. But it needs some more thinking/research about how to achieve that. | |
| Jul 21, 2021 at 10:38 | comment | added | achempion | Also, you can pass -g option to projectile-ripgrep by pressing M-x before the calling projectile-ripgrep command | |
| Jul 21, 2021 at 10:36 | comment | added | achempion | You can't do fuzzy search with -g option, i.e. no way to tell rg to show only results with file path containing "migrations" word in any place | |
| Jul 20, 2021 at 8:42 | history | edited | dalanicolai | CC BY-SA 4.0 | added 57 characters in body |
| Jul 20, 2021 at 8:37 | history | answered | dalanicolai | CC BY-SA 4.0 |