Macro recording and playback

A simple module to record and replay macros.

Source code on github.

To install this module git clone it in your ~/.textadept/modules and add this:

local macro = require('ta-macro')

and something like this

keys.cr = macro.record
keys.cR = macro.finish
keys.ar = macro.replay

to your init.lua.

This module works ok in simple cases, but can be buggy in some more complex cases, such as when manipulating whitespace and so on.


Edited on Sunday, April 16th 2017 at 12:37 PM.