Add custom preview scrolling bindings.
Section: Preview window
Scroll the preview pane
bash
bash
find . -type f | fzf --preview 'bat --color=always {}' --bind 'ctrl-u:preview-half-page-up,ctrl-d:preview-half-page-down'Explanation
Helpful for long previews when you want keyboard-only navigation.
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 Preview window
Preview file contents with bat
Render a syntax-highlighted preview for files.
Toggle preview visibility
Start with the preview hidden and toggle it on demand.
Select all items with a key binding
Bind a key to select all results in multi-select mode.
Run a command on the current item
Open the selected file without leaving fzf permanently.