feat(nvim): improve yank in viusal mode

This commit is contained in:
Moritz Böhme 2023-06-11 19:15:11 +02:00
parent f3bfe50a35
commit d256af3536
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -74,3 +74,8 @@ require("which-key").register({
["<"] = { "<gv", "Shift left" },
[">"] = { ">gv", "Shift right" },
}, { mode = "v" })
-- better yank in visual mode
require("which-key").register({
y = { "ygv<esc>", "Yank" },
}, { mode = "v" })