From: Daniel Carl Date: Mon, 1 Dec 2014 22:52:24 +0000 (+0100) Subject: Don't clear inputbox after :normal command. X-Git-Url: https://git.owens.tech/assets/me.png/assets/me.png/git?a=commitdiff_plain;h=ec72477d0e87ecc68c69bccffd4e538d5e97b5f4;p=vimb.git Don't clear inputbox after :normal command. This lead to empty inputbox for example if hinting is started by ':no f', but the inputbox must contain the ';o'. Without the inputbox content the hinting does not work. --- diff --git a/src/ex.c b/src/ex.c index be500b1..0731ccb 100644 --- a/src/ex.c +++ b/src/ex.c @@ -827,7 +827,7 @@ static VbCmdResult ex_normal(const ExArg *arg) /* if called with bang - don't apply mapping */ map_handle_string(arg->rhs->str, !arg->bang); - return VB_CMD_SUCCESS; + return VB_CMD_SUCCESS | VB_CMD_KEEPINPUT; } static VbCmdResult ex_open(const ExArg *arg)