mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Update 2025-04-04 Update 2025-04-06 Update 2025-04-11 Update 2025-04-13 Update 2025-04-14 Update 2025-04-15 Update 2025-04-25 Update 2025-04-27 Update 2025-04-30
26 lines
528 B
Lua
26 lines
528 B
Lua
return {
|
|
"HakonHarnes/img-clip.nvim",
|
|
event = "VeryLazy",
|
|
keys = {
|
|
{ "<leader>v", vim.cmd.PasteImage, desc = "Paste image from system clipboard" },
|
|
},
|
|
opts = {
|
|
default = {
|
|
dir_path = "assets/img",
|
|
extension = "webp",
|
|
process_cmd = "convert - -quality 75 webp:-",
|
|
file_name = "%Y-%m-%d-%H%M%S",
|
|
relative_to_current_file = false,
|
|
prompt_for_file_name = false,
|
|
},
|
|
filetypes = {
|
|
markdown = {
|
|
template = "![[$FILE_PATH]]",
|
|
},
|
|
vimwiki = {
|
|
template = "![[$FILE_PATH]]",
|
|
},
|
|
},
|
|
},
|
|
}
|