diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-07 11:42:32 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-07 11:51:21 +0900 |
| commit | 230fc49ae216169f9812adcf8942bba3993e61e0 (patch) | |
| tree | 381b3739db998a35e3a8b276c59c9b7c11f477b8 /plugin/fzf.vim | |
| parent | 250d507bdfe370045a32c8cd85fc2b4f34c8df5c (diff) | |
| download | fzf-230fc49ae216169f9812adcf8942bba3993e61e0.tar.gz | |
(Experimental) Add support for iTerm2 inline image protocol
Close #1102
fzf --preview 'imgcat -W $FZF_PREVIEW_COLUMNS -H $FZF_PREVIEW_LINES {}'
Notes:
* There is no good way to determine the height of the rendered image,
so we assume that the image takes the full height of the preview
window. So the image cannot be displayed with the other text.
* fzf-preview.sh script was updated to use `imgcat` if it's available
but `chafa` is not.
* iTerm2 also supports Sixel, so adding support for this protocol is not
quite necessary but it renders animated GIFs much better (e.g. looping).
Diffstat (limited to 'plugin/fzf.vim')
0 files changed, 0 insertions, 0 deletions
