kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.15k stars 972 forks source link

Looking for resources about rendering images in terminal text editors like vim #2982

Closed nscotto closed 4 years ago

nscotto commented 4 years ago

I see a lot of possible applications for terminal text editors using kitty's graphic ability. I would like know if I can render images in text editors like vim using kitty terminal and it's API, I haven't find any resources on it. As a first step I tried running kitty +kiten icat ... command directly in vim and got the error OSError: [Errno 6] No such device address: '/dev/tty'.

I would like to find some resources on how I can display images in text editors like vim.

kovidgoyal commented 4 years ago

You need to get vim to support kitty's graphics protocol. https://sw.kovidgoyal.net/kitty/graphics-protocol.html