diff options
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
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); } |