feat: Add binding for yankpasting then commenting current row without messing yank register
This commit is contained in:
parent
404c40d8dc
commit
f665e34909
1 changed files with 9 additions and 0 deletions
|
|
@ -57,6 +57,15 @@ utils.foreach({
|
|||
{ "]d", function()
|
||||
vim.diagnostic.jump({ count = 1, float = false })
|
||||
end },
|
||||
{ "gcp", function()
|
||||
for _, cmd in ipairs({
|
||||
"\"zyy",
|
||||
"gcc",
|
||||
"\"zp",
|
||||
}) do
|
||||
vim.cmd.normal({ cmd })
|
||||
end
|
||||
end },
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue