From efe3c458042c80d9287dbc49d61e52e5d6deb433 Mon Sep 17 00:00:00 2001 From: Seymur Bagirov Date: Fri, 5 Jul 2024 18:30:23 +0400 Subject: [PATCH] fix: change keymaps of nvim-recorder --- nvim/lua/themystery/plugins/recorder.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nvim/lua/themystery/plugins/recorder.lua b/nvim/lua/themystery/plugins/recorder.lua index a130cbb..4e44795 100644 --- a/nvim/lua/themystery/plugins/recorder.lua +++ b/nvim/lua/themystery/plugins/recorder.lua @@ -1,5 +1,16 @@ return { "chrisgrieser/nvim-recorder", dependencies = "rcarriga/nvim-notify", -- optional - opts = {}, -- required even with default settings, since it calls `setup()` + opts = { + mapping = { + startStopRecording = "q", + playMacro = "Q", + switchSlot = "", + editMacro = "cq", + deleteAllMacros = "dq", + yankMacro = "yq", + -- ⚠️ this should be a string you don't use in insert mode during a macro + addBreakPoint = "##", + } + }, }