Start with the preview hidden and toggle it on demand.

Section: Preview window

Toggle preview visibility

bash
bash
find . -type f | fzf --preview 'bat --color=always {}' --bind 'ctrl-/:toggle-preview'
Explanation

Useful when you want a compact list by default but still need previews occasionally.

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
Scroll the preview pane
Add custom preview scrolling bindings.
OpenIn sheetbashsame section
Preview file contents with bat
Render a syntax-highlighted preview for files.
OpenIn sheetbashsame section
Place preview on the right
Move the preview window and size it.
OpenIn sheetbashsame section
Select all items with a key binding
Bind a key to select all results in multi-select mode.
Clear all selections
Bind a key to deselect all marked entries.
Run a command on the current item
Open the selected file without leaving fzf permanently.