From efc465ed67ce17d135da983f2ae54b3d36387462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 25 Jul 2024 18:53:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(nvim):=20hardcoded=20screens?= =?UTF-8?q?hot=20path=20for=20codesnap=20to=20work=20inside=20vscode=20and?= =?UTF-8?q?=20kitty=20scrollback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/editor/codesnap.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/editor/codesnap.lua b/.config/nvim/lua/plugins/extras/editor/codesnap.lua index a66a643f..8c422052 100644 --- a/.config/nvim/lua/plugins/extras/editor/codesnap.lua +++ b/.config/nvim/lua/plugins/extras/editor/codesnap.lua @@ -2,14 +2,14 @@ return { "mistricky/codesnap.nvim", build = "make", cmd = { "CodeSnap", "CodeSnapSave" }, - vscode = true, + vscode = false, keys = { { "cs", mode = "v", "'<,'>CodeSnap", desc = "Screenshot (Clipboard)" }, { "cS", mode = "v", "'<,'>CodeSnapSave", desc = "Screenshot (Save)" }, }, cond = vim.env.KITTY_SCROLLBACK_NVIM == nil, opts = { - save_path = os.getenv("XDG_SCREENSHOTS_HOME") .. "/Codigo", + save_path = "/home/matt/Images/Capturas/Codigo", -- FIX: Need to find a way for this to work inside vscode and kitty title = "CodeSnap.nvim", code_font_family = "JetBrainsMono Nerd Font", watermark_font_family = "JetBrainsMono Nerd Font",