Patch 8.2.0830
Problem: Motif: can't map "!". (Ben Jackson)
Solution: Remove the shift modifier if it's already included in the key.
(closes #6147)
Files: src/gui_x11.c
*** ../vim-8.2.0829/src/gui_x11.c 2020-05-16 14:01:48.113547782 +0200
--- src/gui_x11.c 2020-05-26 22:11:20.373878263 +0200
***************
*** 948,953 ****
--- 948,958 ----
{
string[0] = key;
len = 1;
+
+ // Remove the SHIFT modifier for keys where it's already included,
+ // e.g., '(', '!' and '*'.
+ if (!ASCII_ISALPHA(key) && key > 0x20 && key < 0x7f)
+ modifiers &= ~MOD_MASK_SHIFT;
}
if (modifiers != 0)
*** ../vim-8.2.0829/src/version.c 2020-05-26 20:21:54.167611874 +0200
--- src/version.c 2020-05-26 22:14:01.709113365 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 830,
/**/
--
hundred-and-one symptoms of being an internet addict:
188. You purchase a laptop so you can surf while sitting on the can.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202005262015.04QKFxZI682277%40masaka.moolenaar.net.