Mercurial > vim
diff src/getchar.c @ 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 | a70f0d6686c4 |
children | c1c25e2523a6 |
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 */