[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
1 changed files with 1 additions and 1 deletions

View File

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