feat(nvim): easy repeat macro

main
sgoudham 6 months ago
parent f1719d7ed4
commit 3c7a47360f
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -48,6 +48,9 @@ map({ "n", "v" }, "<leader>lf", function()
Util.format({ force = true })
end, { desc = "Format" })
-- Easy repeat of last macro
map({ "n" }, "Q", '@@', { desc = "Repeat last macro" })
-- Copy/paste with system clipboard
map({ "n", "x" }, "gy", '"+y', { desc = "Copy to system clipboard" })
map("n", "gp", '"+p', { desc = "Paste from system clipboard" })

Loading…
Cancel
Save