Sublime plugin to insert image from clipboard at the cursor position. Forked from https://github.com/uhx/imagepaste
- Supports OSX (through
pngpaste) - Supports Linux (through
xclip) - Upstream supported Win32 too, but it hasn't been tested.
Depends on Pillow, which should be bundled.
Install xclip through your favourite manager.
Depends on pngpaste
brew install pngpaste
Change the location of executable in imagepaste.sublime-settings if neccessary.
Through Package Control:
Ctrl+Shift+P -> Package Control: Add Repository -> https://github.com/lukauskas/imagepaste
Then:
Ctrl+Shift+P -> Package Control: Install Package -> imagepaste
Script overrides ctrl+v (or cmd+v on mac os x) to paste image into selected folder. By default script writes to the directory 'images' in the current path, but this can be modified in
imagepaste.sublime-settings
Script will automatically insert appropriate markdown.