diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-03-31 16:01:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 16:01:22 +0200 |
commit | f2c83fa8ceea29e295509c8b964f1e9ccda2f0e4 (patch) | |
tree | e7c73f1c9ac029c22e17cdd1810de2125687a62b /src/command | |
parent | a0d5c07a4c8041562615647dc9b39b91602d2469 (diff) | |
parent | 12fda4226b381b0dd9c651a5bad9f702172e8736 (diff) | |
download | profani-tty-f2c83fa8ceea29e295509c8b964f1e9ccda2f0e4.tar.gz |
Merge pull request #1801 from alexandre1985/editor-with-arguments
Editor executable support flags
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_defs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index c9faed96..c4d2df4a 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -2523,6 +2523,7 @@ static const struct cmd_t command_defs[] = { "/executable urlopen default", "/executable urlsave set <cmdtemplate>", "/executable urlsave default", + "/executable editor set <cmdtemplate>", "/executable vcard_photo set <cmdtemplate>", "/executable vcard_photo default") CMD_DESC( @@ -2545,7 +2546,7 @@ static const struct cmd_t command_defs[] = { "/executable urlsave set \"curl %u -o %p\"", "/executable urlsave default", "/executable vcard_photo set \"feh %p\"", - "/executable editor set vim") + "/executable editor set \"emacsclient -t\"") }, { CMD_PREAMBLE("/url", |