Mercurial > vim
diff src/proto/misc2.pro @ 22522:6c7e4db139a3 v8.2.1809
patch 8.2.1809: mapping some keys with Ctrl does not work properly
Commit: https://github.com/vim/vim/commit/4e2114e988f5d8635f2ad748be3cafcc44289138
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 7 16:12:37 2020 +0200
patch 8.2.1809: mapping some keys with Ctrl does not work properly
Problem: Mapping some keys with Ctrl does not work properly.
Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 07 Oct 2020 16:15:04 +0200 |
parents | 1c4d4aa22b37 |
children | dc66d0284518 |
line wrap: on
line diff
--- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -72,6 +72,7 @@ char_u *get_special_key_name(int c, int int trans_special(char_u **srcp, char_u *dst, int flags, int *did_simplify); int special_to_buf(int key, int modifiers, int keycode, char_u *dst); int find_special_key(char_u **srcp, int *modp, int flags, int *did_simplify); +int may_adjust_key_for_ctrl(int modifiers, int key); int may_remove_shift_modifier(int modifiers, int key); int extract_modifiers(int key, int *modp, int simplify, int *did_simplify); int find_special_key_in_table(int c);