Use ripgrep for content search and fzf for interactive selection.
Section: File and code recipes
Search with ripgrep then open in Vim
bash
bash
rg --line-number --no-heading --color=always 'TODO|FIXME' | fzf --ansi | cut -d: -f1 | xargs -r vimExplanation
A common pattern for jumping from search results into an editor.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing File and code recipes
Preview ripgrep matches with context
Combine ANSI results with a syntax-highlighted preview.
Find project files with fd and fzf
Use fd as the file source for faster recursive listing.
Select and kill a process
Pick a process from ps output and send it a signal.
Jump to a recent directory
Use a list of tracked directories as an interactive jump menu.