| ▲ | krick 9 hours ago | ||||||||||||||||
I don't remember why I didn't switch from ag, but I remember it was a conscious decision. I think it had something to do with configuration, rg using implicit '.ignore' file (a super-generic name instead of a proper tool-specific config) or even .gitignore, or something else very much unwarranted, that made it annoying to use. Cannot remember, really, only remember that I spent too much time trying to make it behave and decided it isn't worth it. Anyway, faster is nice, but somehow I don't ever feel that ag is too slow for anything. The switch from the previous one (what was it? ack?) felt like a drastic improvement, but ag vs. rg wasn't much difference to me in practice. | |||||||||||||||||
| ▲ | tom_alexander 8 hours ago | parent | next [-] | ||||||||||||||||
> I didn't switch from ag, [...] rg using implicit '.ignore' file (a super-generic name instead of a proper tool-specific config) The ".ignore" name was actually suggested by the author of ag (whereas the author of rg thought it was too generic): https://news.ycombinator.com/item?id=12568245 | |||||||||||||||||
| |||||||||||||||||
| ▲ | mijoharas 8 hours ago | parent | prev | next [-] | ||||||||||||||||
I was just trying to remember why I switched _to_ rg. It's nice and everything, but I remember being happy with the tools before (I think i moved from grep to ack, then jumped due to perf to ag and for unremembered reasons to pt.) It took me a while, but I remembered I ran into an issue with pt incorrectly guessing the encoding of some files[0]. I can't remember whether rg suffered from the same issue or not, but I do know after switching to rg everything was plain sailing and I've been happy with it since. [0] https://github.com/monochromegane/the_platinum_searcher/issu... | |||||||||||||||||
| ▲ | oriolid 8 hours ago | parent | prev [-] | ||||||||||||||||
For me it was trying to add a filter to search CMake files to ag and then realizing that the code had some rather stupid design decisions that prevented it. I wrote a pull request that fixed enough things to add the filter, got ignored by the maintainer and later realized that other people had already written the same filter and were ignored too. | |||||||||||||||||