6 ms·
The Silver Searcher is where it's at: https://github.com/ggreer/the_silver_searcher https://github.com/ggreer/the_silver_searcher
by MatthewPhillips 13y ago
The Silver Searcher is where it's at:
https://github.com/ggreer/the_silver_searcher https://github.com/ggreer/the_silver_searcher
- duaneb 13y agoYea I have a lot of respect for little ag, used as much as my editor is.
- brcrth 13y agoAnd if your editor is Emacs, you can use this: https://github.com/Wilfred/ag.el https://github.com/Wilfred/ag.el
- lepht 13y agoObligatory vim equivalent: https://github.com/rking/ag.vim https://github.com/rking/ag.vim
- unwind 13y agoAs long as we're plugging: I realize nobody here would ever use Geany, but my Gitbrowser plug-in for that teeny-tiny editor/IDE has a keyboard shortcut to do git grep, and make the results clickable. See https://github.com/unwind/gitbrowser#greping-a-repository https://github.com/unwind/gitbrowser#greping-a-repository.
- michaelmior 13y agoThanks for the pointer! Had seen this before and never really checked it out. It's crazy fast. Some very unscientific testing showed searching for a word in a project I'm working on took 0.07s with ag and 21.7s with ack and 16.3s with grep. Not at all definitive, but I'm definitely going to keep trying ag.
- ggreer 13y agoI'm glad you (and many others) like it. I've neglected Ag lately, but I'll definitely come back to it once I'm less busy (probably in the fall). There are some features users still want, but it's tricky to implement them without performance regressions.
- riquito 13y agoIt amazes me every time that I use it. You did a fantastic job. Thank you
- voltagex_ 13y agoI remember these scripts coming up a while ago here, along with some scathing criticism. How does it compare to ack? How did you go retraining the muscle memory used to type grep -E?
- calinet6 13y agoOr at least ack, which came before it and still kicks grep's ass.