Searching
Find files and content at lightning speed
The bootstrap script installed three powerful search tools that replace traditional Unix utilities with faster, more user-friendly alternatives.
ripgrep (rg) - Search File Contents
ripgrep searches inside files for text patterns. It's like
grep but much faster and smarter.
Basic Search
rg "search term"
Searches all files in current directory and subdirectories.
Search in Specific Directory
rg "TODO" ~/projects/myapp/
Search Specific File Types
rg "function" --type js
Case-Insensitive Search
rg -i "error"
By default, ripgrep skips files in .gitignore, node_modules,
and hidden directories. Use rg -u to search everything.
fd - Find Files by Name
fd finds files and directories by name. It's like find
but with a simpler syntax.
Find by Name
fd readme
Finds all files with "readme" in the name (case-insensitive).
Find by Extension
fd -e py
Finds all Python files.
Find in Specific Directory
fd config ~/.config/
Find Directories Only
fd -t d src
fzf - Fuzzy Finder
fzf is an interactive fuzzy finder. It lets you search through any list interactively, narrowing results as you type.
Interactive File Search
fzf
Opens an interactive file picker. Type to filter, arrow keys to select, Enter to confirm.
Pipe Anything to fzf
cat ~/.bash_history | fzf
Search through your command history.
Preview Files
fzf --preview 'bat --color=always {}'
Shows a preview of each file as you browse.
fzf Keyboard Shortcuts
The bootstrap script enables these shortcuts in your shell:
| Shortcut | Action |
|---|---|
| Ctrl+T | Fuzzy find files, insert path |
| Ctrl+R | Fuzzy search command history |
| Alt+C | Fuzzy find directories, cd into selection |
Ctrl+R with fzf is incredible. Start typing any part of a previous command and fzf will find it. Way better than scrolling through history.