feat: Adding code screenshotting
This commit is contained in:
@@ -21,6 +21,20 @@ local plugins = {
|
||||
}
|
||||
},
|
||||
{ "nvim-neotest/nvim-nio" },
|
||||
{
|
||||
"mistricky/codesnap.nvim", build = "make build_generator",
|
||||
keys = {
|
||||
{ "<leader>cc", "<cmd>CodeSnap<cr>", mode = "x", desc = "Save selected code snapshot into clipboard" },
|
||||
{ "<leader>cs", "<cmd>CodeSnapSave<cr>", 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 ()
|
||||
|
Reference in New Issue
Block a user