diff src/normal.c @ 4472:94c5441984cc v7.3.984

updated for version 7.3.984 Problem: A Visual mapping that uses CTRL-G works differently when started from Insert mode. (Ein Brown) Solution: Reset old_mapped_len when handling typed text in Select mode.
author Bram Moolenaar <bram@vim.org>
date Tue, 21 May 2013 12:46:02 +0200
parents 04736b4030ec
children c624928fbc49
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -701,6 +701,7 @@ normal_cmd(oap, toplevel)
 	else
 	    c = 'c';
 	msg_nowait = TRUE;	/* don't delay going to insert mode */
+	old_mapped_len = 0;	/* do go to Insert mode */
     }
 #endif