dev: automated commit - 2025-07-21 12:34:35

This commit is contained in:
Mariano Z. 2025-07-21 12:34:35 -03:00
parent 5cf175cad1
commit 5ddf4b6929
4 changed files with 75 additions and 6 deletions

View file

@ -55,9 +55,7 @@ nmap("<leader>u", vim.cmd.UndotreeToggle)
-- nnoremap yl :let @" = expand("%:p")<cr>
nmap("yl", function()
local file = vim.fn.expand("%:p")
print("Copied path to clipboard: " .. file)
-- copy to os clipboard
local file = vim.fn.expand("%")
vim.fn.setreg("+", file)
end, { desc = "Copy file path to clipboard" })