Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 727 Bytes

readme.md

File metadata and controls

29 lines (21 loc) · 727 Bytes

recursive macros

hit q to start recording, and q to end recording. You can now hit Q to replay the macro.

Or, hit q to start recording, 2q to begin recording a recursive macro, q to end the recursive macro and continue recording the first macro, and hit Q to replay the recursive macro. Finally, hit q to stop recording the first macro.

The default registers used are qwerty, so 6 levels deep is supported. set your own registers if you want further depth.

Setup

require("recursive-macros").setup()

or for more customisation:

require("recursive-macros").setup({
    registers = {"q", "w", "e", "r", "t", "y"},
    startMacro = "q",
    replayMacro = "Q",
})