Macros
Record a sequence of keystrokes once and replay it — and now save macros so they persist between sessions.
Record and play
- Edit → Macro → Record starts recording; run it again to stop.
- Edit → Macro → Play replays what you just recorded at the cursor.
Save and reuse
- Edit → Macro → Save… asks for a name and stores the recording in
macros.toml(in your config directory). Saving with an existing name updates that macro. - Edit → Macro → Play Saved… lists your saved macros; pick one to replay it.
Use
↑/↓to choose,Enterto play,Escto cancel.
The file
Saved macros live in macros.toml, which you can edit by hand:
[[macro]]
name = "wrap-parens"
keys = ["(", "Right", "Right"]
Each entry is a key token — the key plus modifier prefixes C- (Ctrl), A-
(Alt), S- (Shift): e.g. C-c, S-Tab, Enter, A-Left, F5, Space.
See the specification at crates/vix-macros/spec/index.md.
Vix™ and Vix IDE™ are trademarks.