Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ive always found the silversearcher defaults (or perhaps -Q) to just work better. Any alias/config tips?


ripgrep's -Q is just -F, like grep. This is not enabled by default in either tool.

Otherwise, ag enables multiline search (assuming you have a version of ag where that even works) and smart case by default. With ripgrep, that's ` rg -US`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: