added plugin-config
This commit is contained in:
14
nvim-config/lua/plugins/img-clip.lua
Normal file
14
nvim-config/lua/plugins/img-clip.lua
Normal file
@ -0,0 +1,14 @@
|
||||
return {
|
||||
"HakonHarnes/img-clip.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- add options here
|
||||
-- or leave it empty to use the default settings
|
||||
extension = "avif", ---@type string
|
||||
process_cmd = "convert - -quality 75 avif:-", ---@type string-
|
||||
},
|
||||
keys = {
|
||||
-- suggested keymap
|
||||
{ "<leader>ip", "<cmd>PasteImage<cr>", desc = "Paste image from system clipboard" },
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user