From 6accaba7879a3038b08f972fabdabd0cd7fe469f Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Wed, 19 Nov 2014 23:55:10 +0100 Subject: [PATCH] Fixed none complete keysequence on ". If " is typed in normal mode vimb expects a register char so that the " is show in showcmd section of the statubar. All following next none register chars are appended to the key sequence so that the command is not ready to performed. This patch switch back to starting parser state if the char after the " is no valid register. --- src/normal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/normal.c b/src/normal.c index 779bfac..9d78f63 100644 --- a/src/normal.c +++ b/src/normal.c @@ -280,6 +280,8 @@ VbResult normal_keypress(int key) if (strchr(VB_REG_CHARS, key)) { info.cutbuf = key; info.phase = PHASE_START; + } else { + info.phase = PHASE_COMPLETE; } break; -- 2.20.1