vimage.nvim icon indicating copy to clipboard operation
vimage.nvim copied to clipboard

trafficstars

vimage.nvim

Image plugin for Neovim.

This is WIP, will package properly when it's usable.

To use this for experimentation:

  • creating your own ftplugin
  • customizing the syntax matching in vimage.lua
  • set nowrap

Links:

What's missing:

  • ueberzug replacement (rust/go) with image masking and contain_crop scaler
  • ensure images are not rendered outside of their window (including path masking for floating windows)
  • find a better way to compute the visual line height all all lines in the buffer to support wrapping (this works but it's way too slow)
  • find a way to do reverse conceal to add virtual extra lines, there's a PR open for this