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
Preview file contents with bat
Render a syntax-highlighted preview for files.
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.