commit | 9bad29decfea3477a60780926d573b801ceabe51 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue May 21 12:46:02 2013 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue May 21 12:46:02 2013 +0200 |
tree | 426e09e86973a9257a5ea194234247ed23048e0d | |
parent | 080504921d9a513261a9d60b5b2868aea1e21eb1 [diff] [blame] |
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.
diff --git a/src/normal.c b/src/normal.c index 339b720..b16ac87 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -701,6 +701,7 @@ else c = 'c'; msg_nowait = TRUE; /* don't delay going to insert mode */ + old_mapped_len = 0; /* do go to Insert mode */ } #endif