]> granicus.if.org Git - vim/commitdiff
patch 8.1.1185: mapping for CTRL-X is inconsistent v8.1.1185
authorBram Moolenaar <Bram@vim.org>
Thu, 18 Apr 2019 19:09:02 +0000 (21:09 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 18 Apr 2019 19:09:02 +0000 (21:09 +0200)
Problem:    Mapping for CTRL-X is inconsistent.
Solution:   Map CTRL-X to "*d also for the MS-Windows console. (Ken Takata,
            closes #4265)

src/getchar.c
src/version.c

index 4011db14861f324246737d72e550903fd473dab3..b8c7b3f3ad5026bfeed870c2b21eb7c669b9a566 100644 (file)
@@ -5269,7 +5269,7 @@ static struct initmap
        {(char_u *)"\316\325 \"*y", VIS_SEL},       /* CTRL-Insert is "*y */
        {(char_u *)"\316\327 \"*d", VIS_SEL},       /* SHIFT-Del is "*d */
        {(char_u *)"\316\330 \"*d", VIS_SEL},       /* CTRL-Del is "*d */
-       {(char_u *)"\030 \"-d", VIS_SEL},           /* CTRL-X is "-d */
+       {(char_u *)"\030 \"*d", VIS_SEL},           /* CTRL-X is "*d */
 #  else
        {(char_u *)"\316\324 P", NORMAL},           /* SHIFT-Insert is P */
        {(char_u *)"\316\324 \"-dP", VIS_SEL},      /* SHIFT-Insert is "-dP */
index 308beed578c4c6fb4165a8764118d260a92d6d7b..b08b22c10dcde2db19abeab5c47020e56d326829 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1185,
 /**/
     1184,
 /**/