img-clip.nvim

Lua
Bash
.NET

Img-clip is a cross-platform Neovim plugin for embedding images into markup languages like LaTeX, Markdown and Typst. One of the plugin's most notable features is its drag and drop functionality, allowing users to embed images by simply dragging them from their web browser or file explorer directly into the terminal. Additionally, img-clip provides a convenient way to paste images from the system clipboard, as well as integrations with external plugins through its powerful API.

The plugin's markup templates offer extensive customization options, enabling users to configure cursor positioning, figure labels, and auto-generated file names to suit their specific needs. Img-clip also supports multiple image embedding methods, including saving images as files, using URLs, or even embedding them as Base64-encoded data within the document itself. Images from the web are automatically downloaded and embedded into the document. Img-clip also provides advanced image processing capabilities, such as compression and resizing, enabling users to optimize their images before embedding them.

Since its release, img-clip has garnered significant recognition and support from the Neovim community, with over 1000 active users and more than 400 stars on GitHub. Its popularity even led to it being featured on the official Neovim Twitter account and showcased in a comprehensive, nearly hour-long video on YouTube. To learn more about img-clip and its capabilities, check out the links below.

Interesting project? Contact me at [email protected]

Here's what other people are saying

Thanks. These plugins are completely indispensible for fast writing of technical notes.

Source: Reddit

Huge, working with images was one of the biggest drawbacks of neovim for me. Thanks for your work!

Source: Reddit

This seems too good to be true. Amazing work btw. I am in awe of this work.

Source: Reddit

Thank you for this amazing plugin, I could not believe how configurable it is, especially when I found out it even supports per project configs and dynamic templates!

Source: Email

That's amazing! Also synergizes great with 3rd/image.nvim, it's still mind blowing to me that all this is possible in a terminal.

Source: Reddit

Dang. I used to go through the pain of manually copy pasting screenshots while making notes in neovim. Thanks a ton man.

Source: Reddit

Thank you! This is perfect especially for my LaTeX and vimwiki workflows.

Source: Reddit

What kind of sorcery is this? Amazing.

Source: Reddit

Great work, easy interface. Love it!

Source: Reddit

This is amazing.

Source: Reddit

Looks awesome! +1 star for you.

Source: Reddit

This is so cool!

Source: Twitter/X

Incredible work.

Source: Reddit

This is cool.

Source: Twitter/X
© Håkon Harnes 2024