feat: Add binding for yankpasting then commenting current row without messing yank register

This commit is contained in:
Martin Larsson 2025-06-01 23:51:44 +02:00
parent 404c40d8dc
commit f665e34909

View file

@ -57,6 +57,15 @@ utils.foreach({
{ "]d", function() { "]d", function()
vim.diagnostic.jump({ count = 1, float = false }) vim.diagnostic.jump({ count = 1, float = false })
end }, end },
{ "gcp", function()
for _, cmd in ipairs({
"\"zyy",
"gcc",
"\"zp",
}) do
vim.cmd.normal({ cmd })
end
end },
} }
}, },
{ {