[nvim] fix: keymaps for visual-mode only

This commit is contained in:
David JULIEN 2023-01-07 22:30:23 +01:00
parent 312d469f22
commit 07741bae28

View File

@ -28,7 +28,7 @@ vim.keymap.set("n", "j",
}) })
-- yank and pasting -- yank and pasting
vim.keymap.set({ "n", "v" }, "<leader>y", vim.keymap.set({ "n", "x" }, "<leader>y",
"\"+y", "\"+y",
{ desc = "Yank to clipboard"} { desc = "Yank to clipboard"}
) )