Mercurial > vim
changeset 4980:9ae0fe467776 v7.3.1235
updated for version 7.3.1235
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Jun 2013 16:16:19 +0200 |
parents | 15098960d7b5 |
children | 216a48da3659 |
files | src/ex_getln.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; /*