about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/input.c b/input.c
index 2662cda..07b8b89 100644
--- a/input.c
+++ b/input.c
@@ -413,6 +413,10 @@ static void inputEnter(void) {
 
 	tabAccept();
 	editFn(&edits[id], EditClear);
+	if (inputMode == InputVi) {
+		editVi(&edits[id], L'\33');
+		editVi(&edits[id], L'i');
+	}
 	command(id, cmd);
 }
 
=vimode&id=8e55c049b50e7a08dae819a5d7f704bdfaf4966c&follow=1'>Avoid coloring mentions if there are control codesJune McEnroe 2020-02-10Recalculate unreadLines on reflowJune McEnroe 2020-02-10Only make windows hotterJune McEnroe 2020-02-10Always increase unreadLinesJune McEnroe 2020-02-10Move scroll marker on resizeJune McEnroe 2020-02-10Update line count for words longer than linesJune McEnroe 2020-02-10Simplify mark, heat, unread trackingJune McEnroe 2020-02-10Update prompt when own nick changesJune McEnroe 2020-02-10Match URLs surrounded by parenthesesJune McEnroe 2020-02-10Fix M-a so it properly cycles back to where it startedJune McEnroe 2020-02-09Add M-lJune McEnroe 2020-02-09Add /whoisJune McEnroe 2020-02-09Add /msgJune McEnroe