Mercurial > vim
comparison src/proto/misc2.pro @ 18301:506bf60a30a0 v8.1.2145
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
Commit: https://github.com/vim/vim/commit/459fd785e4a8d044147a3f83a5fca8748528aa84
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 13 16:43:39 2019 +0200
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Oct 2019 16:45:04 +0200 |
parents | 1868ec23360e |
children | a961efb326e5 |
comparison
equal
deleted
inserted
replaced
18300:e502ed410b63 | 18301:506bf60a30a0 |
---|---|
65 void ga_append(garray_T *gap, int c); | 65 void ga_append(garray_T *gap, int c); |
66 void append_ga_line(garray_T *gap); | 66 void append_ga_line(garray_T *gap); |
67 int simplify_key(int key, int *modifiers); | 67 int simplify_key(int key, int *modifiers); |
68 int handle_x_keys(int key); | 68 int handle_x_keys(int key); |
69 char_u *get_special_key_name(int c, int modifiers); | 69 char_u *get_special_key_name(int c, int modifiers); |
70 int trans_special(char_u **srcp, char_u *dst, int keycode, int in_string); | 70 int trans_special(char_u **srcp, char_u *dst, int keycode, int in_string, int simplify, int *did_simplify); |
71 int special_to_buf(int key, int modifiers, int keycode, char_u *dst); | 71 int special_to_buf(int key, int modifiers, int keycode, char_u *dst); |
72 int find_special_key(char_u **srcp, int *modp, int keycode, int keep_x_key, int in_string); | 72 int find_special_key(char_u **srcp, int *modp, int keycode, int keep_x_key, int in_string, int simplify, int *did_simplify); |
73 int extract_modifiers(int key, int *modp); | 73 int extract_modifiers(int key, int *modp, int simplify, int *did_simplify); |
74 int find_special_key_in_table(int c); | 74 int find_special_key_in_table(int c); |
75 int get_special_key_code(char_u *name); | 75 int get_special_key_code(char_u *name); |
76 char_u *get_key_name(int i); | 76 char_u *get_key_name(int i); |
77 int get_fileformat(buf_T *buf); | 77 int get_fileformat(buf_T *buf); |
78 int get_fileformat_force(buf_T *buf, exarg_T *eap); | 78 int get_fileformat_force(buf_T *buf, exarg_T *eap); |