From: Daniel Carl Date: Wed, 19 Nov 2014 22:55:10 +0000 (+0100) Subject: Fixed none complete keysequence on ". X-Git-Url: https://git.owens.tech/assets/me.png/assets/me.png/git?a=commitdiff_plain;h=6accaba7879a3038b08f972fabdabd0cd7fe469f;p=vimb.git 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. --- 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;