nvim-telescope / telescope-media-files.nvim

Telescope extension to preview media files using Ueberzug.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Kitty Protocol

samyak-jain opened this issue · comments

Currently, images are supported using Uberzug. It would be great if the images could also be viewed using the Kitty Protocol

Some References:

https://sw.kovidgoyal.net/kitty/graphics-protocol.html
This is the PR that added kitty image previews for Ranger: ranger/ranger#1077

neovim/neovim#12991

telescope use the :terminal inside vim and that terminal don't support kitty image protocol. I already check and run ranger inside :terminal and image preview is not work with kitty method so we can't do anything here.

Uberzug is render on top of terminal and it is not belong to the terminal.

FYI: I tried today and ranger running inside nvim terminal can show images correctly.

kitty have REMOTE, that allow you to get access to kitty from other terminals

https://sw.kovidgoyal.net/kitty/rc_protocol/
https://sw.kovidgoyal.net/kitty/remote-control/

So, that will allow you to use kitty to view images

The author of Überzug removed 7 days ago. The project now says they were harassed by people seeking free support in the issue tracker.

As Überzug is no longer a option, is there any update to supporting Kitty? Hologram, as mentioned by jigfox, has an API for displaying images. I have no clue about nvim and am a bloody beginner, but Hologram seems to be a promising alternative to Überzug for/with Kitty.

hologram is superseded these days by: https://github.com/3rd/image.nvim