View & render · beta · Neovim 0.10+ · 205 commits
images.nvim
images.nvim shows images in the terminal without leaving Neovim: hover a markdown link, double-click it, or paste a screenshot straight from the clipboard into the document. It draws through the iTerm2 inline-image protocol (OSC 1337) instead of the Kitty graphics protocol the alternatives rely on, which is what makes it work on native Windows Neovim in WezTerm, where they do not.
Install
{
"StefanBartl/images.nvim",
opts = {},
} Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
Documentation
Recent commits
- fix paste: env roots fold case only on Windows; no cursor/insert in a window that switched buffers
- feat paste: env link mode, mode words, cursor lands in the link
- refactor paste: drive paste_with_name via lib.nvim.async instead of nested callbacks
- fix paste: move_file is now truly atomic, preserves permissions, handle_response pcalls callbacks
- fix paste: M.replace writes via tempname, fail_all pcalls user callbacks
- fix paste: win_clipboard_worker.shutdown() now answers requests still in flight
- feat paste: windows_persistent_helper opt-out + fix a file-deletion bug on M.replace failure
- perf paste: keep one persistent PowerShell process for Windows clipboard reads
Combos
- Hover preview stack
hover.nvim is the shared preview host; these hand it something to draw without it needing to know the format itself.