]>
Commit | Line | Data |
---|---|---|
90dbba45 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.033 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.3.033 | |
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. | |
15 | Files: src/normal.c | |
16 | ||
17 | ||
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 | |
20 | *************** | |
21 | *** 1124,1129 **** | |
22 | --- 1124,1134 ---- | |
23 | #endif | |
24 | } | |
25 | ||
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(); | |
30 | + | |
31 | /* | |
32 | * If an operation is pending, handle it... | |
33 | */ | |
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 | |
36 | *************** | |
37 | *** 643,644 **** | |
38 | --- 643,646 ---- | |
39 | { /* Add new patch number below this line */ | |
40 | + /**/ | |
41 | + 33, | |
42 | /**/ | |
43 | ||
44 | -- | |
45 | "A mouse can be just as dangerous as a bullet or a bomb." | |
46 | (US Representative Lamar Smith, R-Texas) | |
47 | ||
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 /// |