Heavily refactored version of loblab/img-paste.vim (which itself is a rewrite of img-paste-devs/img-paste.vim). Also rewritten with vim9script, because I can :)
" for vim-plug, change for your plugin manager
Plug 'LunarWatcher/img-paste.vim'
Use <C-i>
in normal mode to paste images. Config coming Soon:tm:. See also :h imgpaste
for more documentation.
Windows and Linux (theoretically under both X11 and Wayland; only X11 gets tested)
- Vim9script
- There's a well-defined interface for defining arbitrary custom paste formats, and for defining what filetypes use what format
MIT; see the LICENSE file. Note that the LICENSE file was added on 2024-06-25; prior to this, the repo did not have a LICENSE file at all.