Skip to content

fzf: Previewing a file

fzf --preview "cat {}"

Run this command to get a preview of the file you are looking for.

OR This command to preview with syntax highlighting and other features

fzf --preview "bat --color=always --line-range=:500 {}"