On Sunday, September 24 at 08:46 PM, quoth Nicolas Weber:
here's a patch to current svn that applies modifier keys (shift, ctrl, cmd etc) to special keys as well. With this patch, Shift-Left/ Right work and some of the mapping problems some people complained about on [EMAIL PROTECTED] should be fixed too.

HUZZAH! This is fantastic! (I use ctrl-/ as a mapping for :nohlsearch, and I've been sorely missing it in MacVim.)

Please test this patch and tell me about any regressions you find.

Well, I get these errors:

gui_mac.c:2018: warning: return type defaults to 'int'
gui_mac.c: In function 'gui_mac_doKeyEventCarbon':
gui_mac.c:2097: warning: suggest parentheses around && within ||
gui_mac.c: In function 'gui_mch_init':
gui_mac.c:3081: warning: passing argument 1 of 'NewEventHandlerUPP' from incompatible pointer type

I haven't noticed any regressions, but I'll keep my eyes open.

~Kyle
--
A tyrant must put on the appearance of uncommon devotion to religion. Subjects are less apprehensive of illegal treatment from a ruler whom they consider God-fearing and pious. On the other hand, they do less easily move against him, believing that he has the gods on his side.
                                                         -- Aristotle

Attachment: pgpql866h2Vw2.pgp
Description: PGP signature

Reply via email to