Skip to content

Macros

Macros let you bind an ordered sequence of actions to a single name. They are defined in macros.toml in the config directory.

[macros]
saveandexit = ["save", "exit"]

Each key is a macro name and each value is the ordered list of action names it runs. Macro names can reference built-in actions and other macros.

Once defined, a macro name can be bound anywhere an action name is accepted:

[keybindings]
saveandexit = ["ctrl+e"]

The shipped macros.toml contains one commented-out example; uncomment it or add your own entries and restart the client.