Tune the file picker bound to CTRL-T.

Section: Shell integration

Customize CTRL-T picker

bash
bash
export FZF_CTRL_T_OPTS='--preview "bat --style=numbers --color=always --line-range :200 {}"'
Explanation

Adds a preview window for the built-in file selection binding.

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 Shell integration
Source zsh integration
Load fzf key bindings and completion in zsh.
OpenIn sheetbashsame section
Source bash integration
Load fzf key bindings and completion in bash.
OpenIn sheetbashsame section
Set a better default file source
Use fd instead of find for faster file listings.
OpenIn sheetbashsame section
Define global default options
Apply common options to every fzf invocation.
OpenIn sheetbashsame section
Install from the upstream repository
Clone the repo and run the installer for shell integration.
OpenIn sheetbash1 tag match
Install with Homebrew
Install fzf on macOS or Linux with Homebrew.