about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorDaniel Santos <dacs.git@brilhante.top>2023-03-30 21:44:26 +0100
committerDaniel Santos <dacs.git@brilhante.top>2023-03-30 21:44:26 +0100
commit007f623ad8fc8de7a65bff82a603b853ad5b445f (patch)
treeaedb50ecd2d3dbcbe038fb3b56a8cc45425449b3 /src/command
parent2093fe417f6a1d7f8741613a83ed81e18ae272c9 (diff)
downloadprofani-tty-007f623ad8fc8de7a65bff82a603b853ad5b445f.tar.gz
Editor executable support flags
 * Make editor executable into a string to be able to support
   (multiple) flags.
 * Change /help executable to suit this new feature

Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_defs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index c9faed96..0a996a44 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2545,7 +2545,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",