mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
0.43.0
This commit is contained in:
@@ -740,7 +740,7 @@ Kitty, you can make fzf display an image in the preview window.
|
||||
```sh
|
||||
fzf --preview='
|
||||
if file --mime-type {} | grep -qF image/; then
|
||||
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {}
|
||||
kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} | sed \$d
|
||||
else
|
||||
bat --color=always {}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user