diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-12 14:21:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-12 14:21:06 +0100 |
commit | 957cf67d50516ba98716f59c9e1cb6412ec1535d (patch) | |
tree | a1f287aee01e4cbb023b2531a5a4b90e9728a8bf /src/insexpand.c | |
parent | ea2d407f9c144bb634c59017944e4930ed7f80a2 (diff) | |
download | vim-git-957cf67d50516ba98716f59c9e1cb6412ec1535d.tar.gz |
patch 8.2.1978: making a mapping work in all modes is complicatedv8.2.1978
Problem: Making a mapping work in all modes is complicated.
Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
closes 4784, based on patch by Bjorn Linse)
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index 7e61e618b..eebf01dc4 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -1822,7 +1822,7 @@ ins_compl_prep(int c) // Ignore end of Select mode mapping and mouse scroll buttons. if (c == K_SELECT || c == K_MOUSEDOWN || c == K_MOUSEUP - || c == K_MOUSELEFT || c == K_MOUSERIGHT) + || c == K_MOUSELEFT || c == K_MOUSERIGHT || c == K_COMMAND) return retval; #ifdef FEAT_PROP_POPUP |