The Mutt E-Mail Client : Configuration : Keyboard macros
Previous: Setting variables based upon mailbox
Next: Using color and mono video attributes

3.5. Keyboard macros

Usage: macro menu key sequence

Macros are useful when you would like a single key to perform a series of actions. When you press key in menu menu, Mutt will behave as if you had typed sequence. So if you have a common sequence of commands you type, you can create a macro to execute those commands with a single key.

key and sequence are expanded by the same rules as the key bindings, with the addition that control characters in sequence can also be specified as ˆx. In order to get a caret (``ˆ'') you need to use ˆˆ.

Note: Macro definitions (if any) listed in the help screen(s), are silently truncated at the screen width, and are not wrapped.


The Mutt E-Mail Client : Configuration : Keyboard macros
Previous: Setting variables based upon mailbox
Next: Using color and mono video attributes