Change the query from a binding.

Section: Transform actions

Rewrite the query dynamically

bash
bash
printf '%s\n' alpha beta gamma | fzf --bind 'ctrl-e:transform-query:echo beta'
Explanation

Transform actions make it possible to build richer interactive applications around fzf.

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 Transform actions
Update preview label dynamically
Show context-sensitive labels as focus moves.
OpenIn sheetbashsame section
Reload a process list on demand
Refresh the data source with a key binding.
Use fzf as a frontend for ripgrep
Run a new ripgrep search whenever the query changes.
Switch between multiple data sources
Bind keys that swap the prompt and reload command.
Refresh a changing preview
Force the preview command to rerun.