summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-29 11:06:34 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-29 11:06:34 +0100
commit758a8d199988b5b25566b2820db60dc2c9de3e58 (patch)
treeadeaa36cc592a497cdca6782c9f07054475d7c93 /src/getchar.c
parent202b4bd3a452898cfe3ed72facfbf7cb8199fa4b (diff)
patch 8.2.4844: <C-S-I> is simplified to <S-Tab>v8.2.4844
Problem: <C-S-I> is simplified to <S-Tab>. Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 2b1bbde4b0..6d8697c376 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1634,7 +1634,7 @@ merge_modifyOtherKeys(int c_arg, int *modifiers)
{
int c = c_arg;
- if (*modifiers & MOD_MASK_CTRL)
+ if ((*modifiers & MOD_MASK_CTRL) && !(*modifiers & MOD_MASK_SHIFT))
{
if ((c >= '`' && c <= 0x7f) || (c >= '@' && c <= '_'))
{