From ec72477d0e87ecc68c69bccffd4e538d5e97b5f4 Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Mon, 1 Dec 2014 23:52:24 +0100
Subject: [PATCH] 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.
---
 src/ex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.20.1