Ive always found the silversearcher defaults (or perhaps -Q) to just work better. Any alias/config tips?
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`.