about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-05-09 20:04:31 +0200
committerMichael Vetter <jubalh@iodoru.org>2023-05-10 09:34:52 +0200
commit46c90bc68138ca0268ef2562e4f8c9917daf257f (patch)
tree82f06767c3012b97928bbcdd225776eef90e8a89 /src/command/cmd_defs.c
parenta7159c5954c71efcf750c76f8861f19821d5e9b8 (diff)
downloadprofani-tty-46c90bc68138ca0268ef2562e4f8c9917daf257f.tar.gz
Make it possible to reset editor to default
All the other commands (avatar, vcard_photo, urlsave, urlopen) have the
ability to reset to default already.
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index ceb84d05..9828ab1a 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2541,6 +2541,7 @@ static const struct cmd_t command_defs[] = {
               "/executable urlsave set <cmdtemplate>",
               "/executable urlsave default",
               "/executable editor set <cmdtemplate>",
+              "/executable editor default",
               "/executable vcard_photo set <cmdtemplate>",
               "/executable vcard_photo default")
       CMD_DESC(
@@ -2553,6 +2554,7 @@ static const struct cmd_t command_defs[] = {
               { "urlsave set", "Set executable that is run by /url save. Takes a command template that replaces %u and %p with the URL and path respectively." },
               { "urlsave default", "Use the built-in download method for saving." },
               { "editor set", "Set editor to be used with /editor. Needs a terminal editor or a script to run a graphical editor." },
+              { "editor default", "Restore to default settings." },
               { "vcard_photo set", "Set executable that is run by /vcard photo open. Takes a command template that replaces %p with the path" },
               { "vcard_photo default", "Restore to default settings." })
       CMD_EXAMPLES(