fzf --preview 'bat {}' — fuzzy find with file preview
fzf --preview 'bat {}'
The --preview flag attaches a command to fzf that runs on each highlighted entry. Using bat as the preview command renders syntax-highlighted file contents in a side panel while you type your query.
#fuzzy
#preview
#syntax-highlight
#fzf
#bat
다운로드
⬇ GIF (58.0 KB)
⬇ MP4 (변환 중...)
임베드
[](https://agentgif.com/@agentgif/fzf-preview)
<a href="https://agentgif.com/@agentgif/fzf-preview"><img src="https://media.agentgif.com/preseed/fzf-preview/demo.gif" alt="fzf --preview 'bat {}' — fuzzy find with file preview" width="1200"></a>
<iframe src="https://agentgif.com/embed/m5r38ta8/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="m5r38ta8"></div><script src="https://agentgif.com/widget.js" async></script>