X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/84b0fcf3611555f616abf2dcc80ec30b18f16e29..6a420d96a080e04da6c441f88cc52e60fe661089:/sbr/geteditor.c diff --git a/sbr/geteditor.c b/sbr/geteditor.c index 693d2d77..9ef6f5c0 100644 --- a/sbr/geteditor.c +++ b/sbr/geteditor.c @@ -6,6 +6,7 @@ */ #include "h/mh.h" +#include "geteditor.h" #include "context_find.h" #include "h/utils.h" @@ -21,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;