feat(nvim): improve yank in viusal mode

nixos
Moritz Böhme 2023-06-11 19:15:11 +02:00
parent f3bfe50a35
commit d256af3536
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 5 additions and 0 deletions

View File

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