edluffy / hologram.nvim

👻 A cross platform terminal image viewer for Neovim. Extensible and fast, written in Lua and C. Works on macOS and Linux.
MIT License
1.28k stars 31 forks source link

Images in a neovim terminal? #33

Open hackerb9 opened 1 year ago

hackerb9 commented 1 year ago

Hey there. I just got a second bug report on my lsix repository asking if Neovim's Terminal will be able to run lsix. This time, the report specifically mentioned the hologram plugin, which is beyond my expertise.

From the README, it looks like hologram allows embedding images in neovim buffers. However, for command line sixel applications to work inside Neovim, someone would have to modify Neovim's Terminal to pass sixel images to hologram. Am I understanding that correctly? That sounds non-trivial…

I expect viewing sixels in Neovim Terminal was not one of the use cases that you envisioned for Hologram, but it is apparently something that people would like. What should I tell this person (and anyone else who asks)?

koalagang commented 1 year ago

As per the README:

  • (potential) Support for Sixel format.

I am not one of the hologram developers so I can't speak on behalf of them but it does look like lsix may be able to run inside Neovim at some point.