✨ feat(nvim): add recorder extra to help with macros
This commit is contained in:
parent
8e8a749bae
commit
d359eb2c24
1 changed files with 24 additions and 0 deletions
24
.config/nvim/lua/plugins/extras/coding/recorder.lua
Normal file
24
.config/nvim/lua/plugins/extras/coding/recorder.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
"chrisgrieser/nvim-recorder",
|
||||
dependencies = { "rcarriga/nvim-notify" },
|
||||
keys = {
|
||||
{ "q", desc = "Start Recording" },
|
||||
{ "Q", desc = "Play Recording" },
|
||||
{ "<C-q>", desc = "Switch Slot" },
|
||||
{ "cq", desc = "Edit Macro" },
|
||||
{ "yq", desc = "Yank Macro" },
|
||||
{ "dq", desc = "Delete All Macros" },
|
||||
},
|
||||
opts = {
|
||||
useNerdFontsIcons = false,
|
||||
slots = { "a", "b", "c", "d" },
|
||||
mapping = {
|
||||
startStopRecording = "q",
|
||||
playMacro = "Q",
|
||||
editMacro = "cq",
|
||||
switchSlot = "<C-q>",
|
||||
deleteAllMacros = "dq",
|
||||
yankMacro = "yq",
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Reference in a new issue