Mercurial > vim
diff src/gui_x11.c @ 31940:03188d05289a v9.0.1302
patch 9.0.1302: on a Belgian keyboard CTRL-] does not work
Commit: https://github.com/vim/vim/commit/aab2ead008a66fe873091fa721b2d8d8f4083815
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 11 16:15:50 2023 +0000
patch 9.0.1302: on a Belgian keyboard CTRL-] does not work
Problem: On a Belgian keyboard CTRL-] does not work.
Solution: Translate CTRL-$ into CTRL-]. (closes https://github.com/vim/vim/issues/11831)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 Feb 2023 17:30:04 +0100 |
parents | 50555279168b |
children | 8f04cf65ecff |
line wrap: on
line diff
--- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -936,11 +936,11 @@ gui_x11_key_hit_cb( } else { - len = mb_char2bytes(key, string); - // Some keys need adjustment when the Ctrl modifier is used. key = may_adjust_key_for_ctrl(modifiers, key); + len = mb_char2bytes(key, string); + // Remove the SHIFT modifier for keys where it's already included, // e.g., '(', '!' and '*'. modifiers = may_remove_shift_modifier(modifiers, key);