Skip to content

ripgrep

Resources

Manual filtering

Search for attachment in all files named conftest.py.

rg -g 'conftest.py' attachment

Don't include certain folders

rg --iglob='!.git/' attachment

With Vim

:Rg --hidden --iglob='!.git/' -g 'conftest.py' attachment

Powers 01-cocsearch.

Ignore case

rg -i

Search Literal Strings

-F, --fixed-strings