Add preview window toggle keybind as Ctrl+V @fzf-extra.sh/zd ()
@zd() zdf() e() fe()
Export $FZF_PREVIEW_CMD for preview file, which depends on sharkdp/bat or python-pygments for syntax highlight file preview like ...
fzf --preview="${FZF_PREVIEW_CMD}"
@zd() zdd() zda() zdr() zst() zz()
For preview directory structure, use tree -C command like...
fzf --preview 'tree -C {} | head -n $FZF_PREVIEW_LINES'
Add preview window toggle keybind as Ctrl+V @fzf-extra.sh/zd ()
@zd() zdf() e() fe() Export $FZF_PREVIEW_CMD for preview file, which depends on sharkdp/bat or python-pygments for syntax highlight file preview like ...
@zd() zdd() zda() zdr() zst() zz() For preview directory structure, use
tree -C
command like...