nvim-telescope / telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sixel image support

languitar opened this issue · comments

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.

commented

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

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.

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.