BurntSushi/ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
What it is
ripgrep (rg) ----------- ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files. (To disable all automatic filtering by default, use rg -uuu.) ripgrep has first class support on Windows, macOS and Linux, with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.
When to use it
Reach for ripgrep when you live in the terminal and want faster search, git, navigation or a beautiful TUI — it's written in Rust and fits stacks tagged cli, gitignore, grep, recursively-search.