diff --git a/tools/vsh.c b/tools/vsh.c index 0066504ebe..e84ea77b9a 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -2434,7 +2434,7 @@ vshEditWriteToTempFile(vshControl *ctl, const char *doc) /* Hard-code default editor used as a fallback if not configured by * VISUAL or EDITOR environment variables. */ -#define DEFAULT_EDITOR "vi" +#define DEFAULT_EDITOR "sensible-editor" int vshEditFile(vshControl *ctl, const char *filename)