fix: change keymaps of nvim-recorder

This commit is contained in:
Seymur Bagirov 2024-07-05 18:30:23 +04:00
parent 40e24ff18b
commit efe3c45804

View File

@ -1,5 +1,16 @@
return { return {
"chrisgrieser/nvim-recorder", "chrisgrieser/nvim-recorder",
dependencies = "rcarriga/nvim-notify", -- optional dependencies = "rcarriga/nvim-notify", -- optional
opts = {}, -- required even with default settings, since it calls `setup()` opts = {
mapping = {
startStopRecording = "<leader>q",
playMacro = "Q",
switchSlot = "<C-q>",
editMacro = "cq",
deleteAllMacros = "dq",
yankMacro = "yq",
-- ⚠️ this should be a string you don't use in insert mode during a macro
addBreakPoint = "##",
}
},
} }