Editora 0.19.0 docs. You are reading an archived version, kept so links from that release keep working. Read the 0.21.0 docs →

Keyboard macros

Editora records and replays keyboard macros, Emacs-style. Recording captures the faithful interleaved stream of invoked commands and literally typed text, and replay reproduces the exact sequence, so replayed typing runs through the same auto-close and auto-indent assists as live typing.

Record and replay

ActionCommandEmacs key
Start recordingmacro.startRecordingF3
Stop recordingmacro.stopRecordingF4
Replay the last macromacro.replayLastC-x e
Replay N timesmacro.replayLastN(palette)

Saving and reusing

ActionCommand
Name and save the last macromacro.nameAndSave
Run a saved macromacro.runSaved
Delete a saved macromacro.deleteSaved

Saved macros persist across sessions (in macros.json in your config folder). Each saved macro becomes its own palette command, so you can bind it to a shortcut in Settings → Keymaps like any other command. Settings → Macros lists your saved macros, where you can rename one, edit its steps, delete it, or assign its keybinding.

Notes

The recording hooks are inert when you’re not recording, so there’s no idle cost. One limitation: a recorded command that opens a modal picker or prompt pauses replay to wait for input rather than scripting it.