diff --git a/nvim/.config/nvim/lua/custom/plugins.lua b/nvim/.config/nvim/lua/custom/plugins.lua index 3ee9393..8460f0a 100644 --- a/nvim/.config/nvim/lua/custom/plugins.lua +++ b/nvim/.config/nvim/lua/custom/plugins.lua @@ -21,6 +21,20 @@ local plugins = { } }, { "nvim-neotest/nvim-nio" }, + { + "mistricky/codesnap.nvim", build = "make build_generator", + keys = { + { "cc", "CodeSnap", mode = "x", desc = "Save selected code snapshot into clipboard" }, + { "cs", "CodeSnapSave", mode = "x", desc = "Save selected code snapshot in ~/Pictures" }, + }, + opts = { + save_path = "~/Pictures", + has_breadcrumbs = false, + bg_theme = "bamboo", + watermark = "", + mac_window_bar = false, + }, + }, { "neovim/nvim-lspconfig", config=function ()