aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/keymap.c')
-rw-r--r--src/nvim/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c
index 1e305528ba..3fdc140ebd 100644
--- a/src/nvim/keymap.c
+++ b/src/nvim/keymap.c
@@ -775,7 +775,7 @@ static int extract_modifiers(int key, int *modp)
}
if ((modifiers & MOD_MASK_CTRL) && ((key >= '?' && key <= '_') || ASCII_ISALPHA(key))) {
key = TOUPPER_ASC(key);
- int new_key = Ctrl_chr(key);
+ int new_key = CTRL_CHR(key);
if (new_key != TAB && new_key != CAR && new_key != ESC) {
key = new_key;
modifiers &= ~MOD_MASK_CTRL;