diff options
author | Bram Moolenaar <bram@vim.org> | 2013-06-23 16:16:19 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-06-23 16:16:19 +0200 |
commit | 8f1ba75f1872a1ca8548c4531eccfb72aa3d4cf2 (patch) | |
tree | 8a7b3d6ac00a724874b2c08a19ad30acee49b9a6 | |
parent | 342022d336b5134376b2555afad5dff3c52d6fdb (diff) | |
download | vim-8f1ba75f1872a1ca8548c4531eccfb72aa3d4cf2.tar.gz |
Problem: In insert mode CTRL-] is not inserted, on the command-line it is.
Solution: Don't insert CTRL-] on the command line. (Yukihiro Nakadaira)
-rw-r--r-- | src/ex_getln.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index e407ab0a..ec64619e 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -1700,13 +1700,13 @@ getcmdline(firstc, count, indent) * We come here if we have a normal character. */ - if (do_abbr && (IS_SPECIAL(c) || !vim_iswordc(c)) && ccheck_abbr( + if (do_abbr && (IS_SPECIAL(c) || !vim_iswordc(c)) && (ccheck_abbr( #ifdef FEAT_MBYTE /* Add ABBR_OFF for characters above 0x100, this is * what check_abbr() expects. */ (has_mbyte && c >= 0x100) ? (c + ABBR_OFF) : #endif - c)) + c) || c == Ctrl_RSB)) goto cmdline_changed; /* diff --git a/src/version.c b/src/version.c index cde6db8c..2f24c3f4 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1235, +/**/ 1234, /**/ 1233, |