Skip to content

use with fzf #139

Answered by hpjansson
sweetbbak asked this question in Q&A
Mar 12, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Looks like someone made it work: https://old.reddit.com/r/commandline/comments/o7xkjp/fzf_preview_anything/

PeFClic's reply in that thread indicates it's possible, although it seems like fzf was unable to pass through the escape codes needed to make sixel or other more advanced image protocols work.

They seem to be using Pistol with a configuration file entry that looks like this:

image/* chafa %pistol-filename%

You may want to add -f symbol to the command line if it's printing garbage (sixels or kitty protocol being filtered by fzf). I haven't tested this myself, so YMMV :-)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by sweetbbak
Comment options

You must be logged in to vote
2 replies
@hpjansson
Comment options

@christosangelopoulos
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants