Skip to content

Commit

Permalink
feat: add image clip
Browse files Browse the repository at this point in the history
  • Loading branch information
xamcost committed Aug 14, 2024
1 parent 35bd553 commit 5879d39
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" },
"git-blame.nvim": { "branch": "master", "commit": "50543e3993f4b996eea01ff5ccc8fe2a354c5388" },
"gitsigns.nvim": { "branch": "main", "commit": "562dc47189ad3c8696dbf460d38603a74d544849" },
"hererocks": { "branch": "master", "commit": "8bd2fcfdd65cfa7535ce39ea372a63b0bdb8e528" },
"image.nvim": { "branch": "master", "commit": "4007cddc4cfc1b5ddd49744a38362e7b0432b3a0" },
"img-clip.nvim": { "branch": "main", "commit": "1924e20ab19afec9779109d083b6e5f8bee8fb17" },
"indent-blankline.nvim": { "branch": "master", "commit": "dddb5d21811c319eb6e51a993d8fb44b193aae3f" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazygit.nvim": { "branch": "main", "commit": "dc56df433bfbf107fee0139e187eb9750878fa84" },
Expand Down
10 changes: 10 additions & 0 deletions lua/plugins/img-clip.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
return {
"HakonHarnes/img-clip.nvim",
event = "VeryLazy",
opts = {
prompt_for_file_name = true,
},
keys = {
{ "<leader>ip", "<cmd>PasteImage<cr>", desc = "Paste image from system clipboard" },
},
}

0 comments on commit 5879d39

Please sign in to comment.