dajva / rg.el

Emacs search tool based on ripgrep
https://rgel.readthedocs.io
GNU General Public License v3.0
475 stars 41 forks source link

would it be possible to print number of matches found #18

Closed it6 closed 6 years ago

it6 commented 7 years ago

Instead of returning matches found. Is it possible to add number of matches found that will be really helpful.

screen shot 2017-08-18 at 2 02 54 pm
dajva commented 7 years ago

It's possible but would need a setup of some compilation variables separate from grep.el that is currently used. So essentially, skip grep-setup and do our own implementation. I am currently working on a feature that will count the matches anyway so if I get time I might do this as well. I'd like to move away from the grep.el dependencies eventually.

I don't have much time on this right now but would accpept a pr if you want to do it yourself.