> The macro system can only effect the open buffer, it can't modify nano's default behaviours. It cannot move the active cursor.
> This turns it into a text-manipulation system, rather than a self-modifying system like you might find in vim and emacs.
An example of a text editor that is extensible in Lua from the ground up is Textadept.
By the way, it's nice to see projects hosted on Sourcehut get some attention on Hacker News.
This whole thing is a hack - and I know it. But adding it to nano was surprisingly easy.