From 9e69a7d36a8faa4ab0b20636ff2b54966f442f0e Mon Sep 17 00:00:00 2001 From: rootiest Date: Tue, 24 Sep 2024 14:51:25 -0400 Subject: [PATCH] feat: add img-clip plugin with custom configuration --- lua/plugins/util.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lua/plugins/util.lua b/lua/plugins/util.lua index 9585d8e..5e7f1b1 100644 --- a/lua/plugins/util.lua +++ b/lua/plugins/util.lua @@ -173,6 +173,21 @@ return { { -- Timer "alex-popov-tech/timer.nvim", }, + { -- Image-Clip + "HakonHarnes/img-clip.nvim", + event = "VeryLazy", + opts = { + default = { + embed_image_as_base64 = false, + prompt_for_file_name = false, + drag_and_drop = { + insert_mode = true, + }, + -- required for Windows users + use_absolute_path = true, + }, + }, + }, { -- Multicursor "jake-stewart/multicursor.nvim", branch = "1.0",