Sets MMT’s two settings, diff and editor, for your user account.
| Setting | Used by | Runs as |
|---|---|---|
editor |
mmt push without --notes |
<editor> <notes file> |
diff |
mmt diff |
<diff> <server copy> <your file> |
mmt config list#
Shows both settings, or <Not Set>. A set value prints as a list, for example editor: ['code', '-w'].
mmt config list
This command takes no arguments.
mmt config set#
Sets a setting to a command and its options. Put -- before the command if any part of it starts with -, so MMT doesn’t read it as its own option.
mmt config set key [value ...]
| Argument | Short | Required | Description |
|---|---|---|---|
key |
Yes | Name of the configuration setting. | |
value ... |
No | Value of the configuration setting. |
Example:
mmt config set editor -- code --wait
mmt config set diff -- code --diff --wait
mmt config delete#
Removes a setting.
mmt config delete key
| Argument | Short | Required | Description |
|---|---|---|---|
key |
Yes | Name of the configuration setting. |