nvim-telescope / telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.
MIT License
445 stars 46 forks source link

sixel image support #21

Open languitar opened 2 years ago

languitar commented 2 years ago

If possible with the constraints of neovim, it would be nice if the sixel image protocol was supported. That way, https://codeberg.org/dnkl/foot could display images.

prmadev commented 2 years ago

I think this would also make it possible for wayland users to use this plugin!

niksingh710 commented 11 months ago

is there anyway to give chafa a arg like -f sixels?

i mean does the config support any args like this? as i didn't saw anywhere mentioned.

ColdMacaroni commented 10 months ago

Might be worth looking at image.nvim . It doesn't have sixel support yet however it can use ueberzugpp to display images over nvim. It also has support for the kitty protocol.

I tried the minimal setup (present in the repo) and it worked quite well, the lua api seems really nice to interact with.

The ueberzugpp window does lag when scrolling, however that shouldn't be an issue with the way the preview works. The only notable issue with it is that moving a floating terminal with nvim won't update ueberzug's position, but i'd say that's unavoidable. It still works really well.