Public Access
added copy path keybindings
This commit is contained in:
@@ -62,3 +62,7 @@ map("n", "<leader>sl", function()
|
||||
vim.opt.spelllang = new
|
||||
vim.notify("Spell lang: " .. new)
|
||||
end, { desc = "Spell: switch language (en/de)" })
|
||||
|
||||
-- Copy path
|
||||
map("n", "<leader>cprp", "<cmd>let @+ = expand('%')<cr>", {desc = "Copy relative path to clipboard"})
|
||||
map("n", "<leader>cpap", "<cmd>let @+ = expand('%:p')<cr>", {desc = "Copy absolute path to clipboard"})
|
||||
|
||||
Reference in New Issue
Block a user