refactor(nvim): make imgclip store relative to cur file
This commit is contained in:
parent
2e3d8e1a85
commit
ef7fc52937
@ -1,7 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"HakonHarnes/img-clip.nvim",
|
"HakonHarnes/img-clip.nvim",
|
||||||
opts = {},
|
|
||||||
cmd = {
|
cmd = {
|
||||||
"PasteImage",
|
"PasteImage",
|
||||||
"ImgClipDebug",
|
"ImgClipDebug",
|
||||||
@ -10,5 +9,10 @@ return {
|
|||||||
keys = {
|
keys = {
|
||||||
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste Image" },
|
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste Image" },
|
||||||
},
|
},
|
||||||
|
config = function()
|
||||||
|
require("img-clip").setup({
|
||||||
|
relative_to_current_file = true,
|
||||||
|
})
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user