In insert mode, CTRL-] is not inserted when no matched abbreviation.
But in command-lime mode, it is inserted.
Please check the following patch.
diff -r 6e9667d3f166 src/ex_getln.c
--- a/src/ex_getln.c Sun Jun 16 22:49:14 2013 +0200
+++ b/src/ex_getln.c Sun Jun 23 22:42:01 2013 +0900
@@ -1700,13 +1700,13 @@
* 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;
/*
--
Yukihiro Nakadaira - [email protected]
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.