Skip to content

Commit 44a93c0

Browse files
committed
chore(nvim): Update yanky.lua configuration
1 parent 773f83d commit 44a93c0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

nvim/.config/nvim/lua/plugins/yanky.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
return {
22
"gbprod/yanky.nvim",
3+
keys = {
4+
{ "<LeftRelease>", "<Plug>(YankyYank)", mode = { "v" }, desc = "Yank on mouse select" },
5+
{ "<2-LeftRelease>", "<Plug>(YankyYank)", mode = { "v" }, desc = "Yank on word mouse select" },
6+
},
37
opts = {
48
ring = {
59
permanent_wrapper = require("yanky.wrappers").remove_carriage_return,
610
},
11+
highlight = {
12+
timer = 250,
13+
},
714
},
815
}
9-

0 commit comments

Comments
 (0)