File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1540,7 +1540,8 @@ may_adjust_key_for_ctrl(int modifiers, int key)
15401540 * When Ctrl is also used <C-H> and <C-S-H> are different, but <C-S-{> should
15411541 * be <C-{>. Same for <C-S-}> and <C-S-|>.
15421542 * Also for <A-S-a> and <M-S-a>.
1543- * This includes all printable ASCII characters except numbers and a-z.
1543+ * This includes all printable ASCII characters except a-z.
1544+ * Digits are included because with AZERTY the Shift key is used to get them.
15441545 */
15451546 int
15461547may_remove_shift_modifier (int modifiers , int key )
@@ -1550,6 +1551,7 @@ may_remove_shift_modifier(int modifiers, int key)
15501551 || modifiers == (MOD_MASK_SHIFT | MOD_MASK_META ))
15511552 && ((key >= '!' && key <= '/' )
15521553 || (key >= ':' && key <= 'Z' )
1554+ || vim_isdigit (key )
15531555 || (key >= '[' && key <= '`' )
15541556 || (key >= '{' && key <= '~' )))
15551557 return modifiers & ~MOD_MASK_SHIFT ;
Original file line number Diff line number Diff line change @@ -703,6 +703,8 @@ static char *(features[]) =
703703
704704static int included_patches [] =
705705{ /* Add new patch number below this line */
706+ /**/
707+ 453 ,
706708/**/
707709 452 ,
708710/**/
You can’t perform that action at this time.
0 commit comments