nvim-snappy/lua/plugins/langs/md_quarto/img-clip.lua

27 lines
361 B
Lua

return {
"HakonHarnes/img-clip.nvim",
commit = '5ded6f468d633ccfb315905fe8901d6c95ae8f29',
event = 'VeryLazy',
cmd = {
'PasteImage',
'ImgClipDebug',
'ImgClipConfig',
},
keys = {
-- Pasting
{
'<leader>pi',
function()
require('img-clip').paste_image()
end,
desc = '[P]aste [I]mage',
},
},
opts = {
dir_path = 'img',
},
}