Ripgrep is a very fast way to search your text based files. The pre flag is a significantly slower way to search a bunch of your other files as well.
The scripts below have been superseded by rgpipe.
Good: rg --pre somescripthere yoursearchtermhere
Better: rg ---pre-glob '*.{comma,seperated,extensions,to,preprocess}' --pre somescripthere yoursearchtermhere