diff --git a/.config/nvim/lua/plugins/extras/coding/recorder.lua b/.config/nvim/lua/plugins/extras/coding/recorder.lua new file mode 100644 index 00000000..b2727a49 --- /dev/null +++ b/.config/nvim/lua/plugins/extras/coding/recorder.lua @@ -0,0 +1,24 @@ +return { + "chrisgrieser/nvim-recorder", + dependencies = { "rcarriga/nvim-notify" }, + keys = { + { "q", desc = "Start Recording" }, + { "Q", desc = "Play Recording" }, + { "", 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 = "", + deleteAllMacros = "dq", + yankMacro = "yq", + }, + }, +}