Search

rg

ripgrep (rg)

Search with sort displaying only file names

$ rg -l '// TODO' --sort path

Search within Markdown files only

$ rg -t md '@format'

Search in files with path matching

$ rg -g 'parser-*.js' '// TODO'