Nicolas Weber wrote: > > Hmmm Im having a problem. Ctrl-A, ctrl-e, ctrl-k, ctrl-u, etc. > > dont 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
I tried the patch, but it appears that CTRL-F and CTRL-B no longer work in Normal mode. They do something in Insert mode after CTRL-V. It looks like this patch needs more careful testing. Perhaps you should make a list of keys with various modifiers that need to be tried to verify the code works correctly. -- Engineers are always delighted to share wisdom, even in areas in which they have no experience whatsoever. Their logic provides them with inherent insight into any field of expertise. This can be a problem when dealing with the illogical people who believe that knowledge can only be derived through experience. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///