Hi,

Hmmm… I’m having a problem. Ctrl-A, ctrl-e, ctrl-k, ctrl-u, etc. don’t seem to work anymore. I have these lines in my vimrc:

The attached patch should fix this problem as well (again the diff is against vim svn).

The problem was that chars like ^A (ctrl-a) were sent with MOD_MASK_CTRL set. I worked around this by adding the lines
        /* remove CTRL from keys that already have it */
        if (key_char < 0x20)
            vimModifiers &= ~MOD_MASK_CTRL;

I don't know if this the right solution, but it works. At least on my system. :-P

Bye,
Nico

Attachment: keyevent.diff
Description: Binary data


Reply via email to