changeset 16360:7a8706e25c2d v8.1.1185

patch 8.1.1185: mapping for CTRL-X is inconsistent commit https://github.com/vim/vim/commit/86ec6d7e1e037e839879a5c05c2ee77db27fb557 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 18 21:09:02 2019 +0200 patch 8.1.1185: mapping for CTRL-X is inconsistent Problem: Mapping for CTRL-X is inconsistent. Solution: Map CTRL-X to "*d also for the MS-Windows console. (Ken Takata, closes #4265)
author Bram Moolenaar <Bram@vim.org>
date Thu, 18 Apr 2019 21:15:05 +0200
parents 751bc6d5be74
children d5dc4a56ba8a
files src/getchar.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -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 */
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1185,
+/**/
     1184,
 /**/
     1183,