summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 561c758..04f20a0 100644
--- a/config.def.h
+++ b/config.def.h
@@ -142,9 +142,10 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
#define TERMINAL_ENVVAR "TERMINAL"
#define BROWSER_ENVVAR "BROWSER"
-static const char *termcmd[] = { "st", NULL }; // default for terminal; respects $TERMINAL
-static const char *browsercmd[] = { "firefox", NULL }; // default for browser; respects $BROWSER
-static const char *editorcmd[] = { "em", NULL };
+#define EDITOR_ENVVAR "VISUAL"
+static const char *termcmd[] = { "st", NULL }; // default terminal; respects $TERMINAL env variable
+static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable
+static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable
static const char *torbrowsercmd[] = { "tor-browser", NULL };
static const char *calccmd[] = { "gnome-calculator", NULL };