# HG changeset patch # User Bram Moolenaar # Date 1555614905 -7200 # Node ID 7a8706e25c2d01eba3f36942a8ba4fecaf913f57 # Parent 751bc6d5be74e21cf16ecab9ee0478ca87fd5413 patch 8.1.1185: mapping for CTRL-X is inconsistent commit https://github.com/vim/vim/commit/86ec6d7e1e037e839879a5c05c2ee77db27fb557 Author: Bram Moolenaar 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) diff --git a/src/getchar.c b/src/getchar.c --- 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 */ diff --git a/src/version.c b/src/version.c --- 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,