telescope-media-files.nvim icon indicating copy to clipboard operation
telescope-media-files.nvim copied to clipboard

Support Kitty Protocol

Open samyak-jain opened this issue 4 years ago • 8 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: https://github.com/ranger/ranger/pull/1077

samyak-jain avatar Mar 20 '21 22:03 samyak-jain

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.

windwp avatar Mar 21 '21 00:03 windwp

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

tex avatar Apr 15 '22 13:04 tex

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

palandovalex avatar May 15 '22 20:05 palandovalex

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

jigfox avatar Aug 24 '22 10:08 jigfox

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

LeoniePhiline avatar Nov 26 '22 06:11 LeoniePhiline

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.

d0x7 avatar Mar 18 '23 02:03 d0x7

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

kovidgoyal avatar Apr 01 '24 05:04 kovidgoyal