pcrandall / mdclip.vim

vim plugin for mdclip , convert images from system clipboard to markdown formatted base64 strings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdclip.vim a Vim/Neovim plugin for mdclip

Allows you to rename image, and automatically folds the base64 encoded image in your markdown file

demo gif

mdclip Installation:

First install the appropriate binary into your $PATH from

https://github.com/pcrandall/mdclip/releases/

mdclip.vim Installation:

Packer

Add use {"pcrandall/mdclip.vim"} to your init.vim Then run PackerCompile followed by PackerInstall command in vim/nvim

Vim-Plug

Add Plug "pcrandall/mdclip.vim" to your init.vim Then run PlugInstall command in vim/nvim

Usage

:Mdclip command in vim/nvim

Mapping

No default mappings you can create your own using like this

init.lua

vim.api.nvim_set_keymap('n', 'mdc', ':Mdclip<CR>', {noremap = true, silent = true})

init.vim

nnoremap <silent> mdc :Mdclip<CR>

About

vim plugin for mdclip , convert images from system clipboard to markdown formatted base64 strings

License:MIT License


Languages

Language:Vim Script 100.0%