✨ feat(nvim): add new keybindings for codesnap
This commit is contained in:
parent
b01f37d87b
commit
053d15ed18
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ return {
|
|||
"mistricky/codesnap.nvim",
|
||||
build = "make",
|
||||
cmd = { "CodeSnap", "CodeSnapSave" },
|
||||
keys = {
|
||||
{ "<leader>cs", mode = "v", ":'<,'>CodeSnap<cr>", desc = "Screenshot (Clipboard)" },
|
||||
{ "<leader>cS", mode = "v", ":'<,'>CodeSnapSave<cr>", desc = "Screenshot (Save)" },
|
||||
},
|
||||
cond = vim.env.KITTY_SCROLLBACK_NVIM == nil,
|
||||
opts = {
|
||||
save_path = os.getenv("XDG_SCREENSHOTS_HOME") .. "/Codigo",
|
||||
|
|
Loading…
Add table
Reference in a new issue