4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When a mapping ends in a Normal mode command of more than one
12 character Vim doesn't return to Insert mode.
13 Solution: Check that the mapping has ended after obtaining all characters of
14 the Normal mode command.
18 *** ../vim-6.3.032/src/normal.c Fri Aug 27 21:14:50 2004
19 --- src/normal.c Thu Nov 18 10:34:43 2004
26 + /* get the length of mapped chars again after typing a count, second
27 + * character or "z333<cr>". */
28 + if (old_mapped_len > 0)
29 + old_mapped_len = typebuf_maplen();
32 * If an operation is pending, handle it...
34 *** ../vim-6.3.032/src/version.c Thu Nov 18 10:47:38 2004
35 --- src/version.c Thu Nov 18 10:45:02 2004
39 { /* Add new patch number below this line */
45 "A mouse can be just as dangerous as a bullet or a bomb."
46 (US Representative Lamar Smith, R-Texas)
48 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
49 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
50 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
51 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///