X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ff2b7b715934b346b6121a2a434db116d3203663..6a420d96a080e04da6c441f88cc52e60fe661089:/sbr/geteditor.c diff --git a/sbr/geteditor.c b/sbr/geteditor.c index e946e0a8..9ef6f5c0 100644 --- a/sbr/geteditor.c +++ b/sbr/geteditor.c @@ -6,6 +6,8 @@ */ #include "h/mh.h" +#include "geteditor.h" +#include "context_find.h" #include "h/utils.h" static char *default_editor = NULL; @@ -20,7 +22,7 @@ get_default_editor(void) if (!(str = context_find("editor")) && !(str = getenv("VISUAL")) && !(str = getenv("EDITOR"))) { - str = "vi"; + str = "prompter"; } return default_editor = str;