Run a new ripgrep search whenever the query changes.
Section: Reload patterns
Use fzf as a frontend for ripgrep
bash
bash
fzf --ansi --disabled --query '' --bind 'start:reload:rg --column --line-number --no-heading --color=always {q} || true' --bind 'change:reload:rg --column --line-number --no-heading --color=always {q} || true' --delimiter=':' --preview 'bat --color=always --highlight-line {2} {1}'Explanation
This pattern is one of the most powerful advanced fzf workflows for live content search.
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 Reload patterns
Reload a process list on demand
Refresh the data source with a key binding.
Switch between multiple data sources
Bind keys that swap the prompt and reload command.