nvim-telescope / telescope-media-files.nvim

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

Support Kitty Protocol #5

Open samyak-jain opened 3 years ago

samyak-jain commented 3 years ago

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: https://github.com/ranger/ranger/pull/1077

windwp commented 3 years ago

https://github.com/neovim/neovim/issues/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.

tex commented 2 years ago

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

palandovalex commented 2 years ago

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

jigfox commented 1 year ago

might be a way to do this: https://github.com/edluffy/hologram.nvim

LeoniePhiline commented 1 year ago

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

d0x7 commented 1 year ago

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.

kovidgoyal commented 3 months ago

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