fzf --header-lines=1 --header='CTRL-R to reload' --bind 'ctrl-r:reload(ps -ef)' < <(ps -ef)reload lets you keep one interactive session open while the underlying command is rerun.
Build live search interfaces with reload, change events, refresh-preview, and mode-switching key bindings.
Build dynamic interfaces that refresh their source list in place.
fzf --header-lines=1 --header='CTRL-R to reload' --bind 'ctrl-r:reload(ps -ef)' < <(ps -ef)reload lets you keep one interactive session open while the underlying command is rerun.
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}'This pattern is one of the most powerful advanced fzf workflows for live content search.
printf '%s
' files dirs | fzf --prompt='Files> ' --bind 'ctrl-d:change-prompt(Dirs> )+reload(fd --type d),ctrl-f:change-prompt(Files> )+reload(fd --type f)'Useful for command palettes that have multiple modes.
fzf --preview 'date' --bind '?:refresh-preview'Helpful when the preview itself is time-sensitive or depends on changing external state.
Alter prompts, headers, previews, or queries from events and bindings.
printf '%s
' alpha beta gamma | fzf --bind 'ctrl-e:transform-query:echo beta'Transform actions make it possible to build richer interactive applications around fzf.
printf '%s
' a b c | fzf --preview 'echo {}' --bind 'focus:transform-preview-label:echo Preview'Small UX improvement for custom UIs and dashboards.