summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-06 22:36:24 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-06 22:36:24 +0200
commit975a880a1389e8ce6dea8d66a7c109140b2f94ec (patch)
tree64e2a6019a20c05e2b399f73e2f29f7cb20c0d49 /src/edit.c
parentadc17a5f9d207fd1623fd923457a46efc9214777 (diff)
downloadvim-git-975a880a1389e8ce6dea8d66a7c109140b2f94ec.tar.gz
patch 8.2.0916: mapping with partly modifyOtherKeys code does not workv8.2.0916
Problem: Mapping with partly modifyOtherKeys code does not work. Solution: If there is no mapping with a separate modifier include the modifier in the key and then try mapping again. (closes #6200)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 5252334ce..dc0b45082 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1609,7 +1609,7 @@ decodeModifyOtherKeys(int c)
#endif
mod_mask = decode_modifiers(arg[!form]);
- c = merge_modifyOtherKeys(arg[form]);
+ c = merge_modifyOtherKeys(arg[form], &mod_mask);
}
}