0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessary

Problem:    CTRL-Z and mouse click use CTRL-O unnecessary.
Solution:   Remove stuffing CTRL-O. (James McCoy, closes #1453)
This commit is contained in:
Bram Moolenaar
2017-02-26 19:09:05 +01:00
parent 0c8485f0e4
commit 74a47162a0
3 changed files with 8 additions and 4 deletions

View File

@@ -1038,8 +1038,10 @@ doESCkey:
if (!p_im)
goto normalchar; /* insert CTRL-Z as normal char */
do_cmdline_cmd((char_u *)"stop");
c = Ctrl_O;
/*FALLTHROUGH*/
#ifdef CURSOR_SHAPE
ui_cursor_shape(); /* may need to update cursor shape */
#endif
continue;
case Ctrl_O: /* execute one command */
#ifdef FEAT_COMPL_FUNC