summaryrefslogtreecommitdiff
path: root/src/hints.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hints.c')
-rw-r--r--src/hints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hints.c b/src/hints.c
index c9d61e2..52c9772 100644
--- a/src/hints.c
+++ b/src/hints.c
@@ -149,7 +149,7 @@ static void run_script(char *js)
} else if (!strncmp(value, "DONE:", 5)) {
vb_set_mode(VB_MODE_NORMAL, true);
} else if (!strncmp(value, "INSERT:", 7)) {
- vb_set_mode(VB_MODE_INSERT, false);
+ vb_set_mode(VB_MODE_INPUT, false);
if (HINTS_GET_TYPE(mode) == HINTS_TYPE_EDITABLE) {
command_editor(NULL);
}