I recently found Projectile and I am loving it. I really like the ivy/counsel integration as well. One thing is missing though:
I am working on a huge project of hundreds of files. This is stored in one big massive Git repository which projectile recognizes as the root of the project. I'd like to keep it recognizing this as the root, as there are some dependencies across the various folders.
How can I run projectile search (e.g. C-c p s r
for using ripgrep) and limit results to a specific sub-directory in that project?
Update 2020-06-17
I just found the --iglob
option for ripgrep
. I'll keep looking for a way to use this along with counsel-projectile-rg
, but if anyone knows I'd love to hear an answer!
rg.el
which ask about where to search and and some other options. Also use counsel and a few others tool wrappers as convenience.helm-do-ag
as mentioned in this answer seems to work: stackoverflow.com/questions/39982412/…