On Wednesday, June 12, 2013 12:33:23 PM UTC+2, Bram Moolenaar wrote: > Yasuhiro Matsumoto wrote: > > > > > On Wednesday, June 12, 2013 10:48:42 AM UTC+9, mattn wrote: > > > > On Wednesday, June 12, 2013 12:11:35 AM UTC+9, Ben Fritz wrote: > > > > > On Tuesday, June 11, 2013 5:25:42 AM UTC-5, mattn wrote: > > > > > > On Tuesday, June 11, 2013 1:33:45 PM UTC+9, [email protected] wrote: > > > > > > > Status: New > > > > > > > Owner: ---- > > > > > > > Labels: Type-Defect Priority-Medium > > > > > > > New issue 141 by [email protected]: <C-@> > > > > > > > http://code.google.com/p/vim/issues/detail?id=141 > > > > > > I could handle CTRL-@ with following patch. > > > > > > > > > > > https://gist.github.com/mattn/5755848 > > > > > > > > > > > I found that some keys doesn't handle correctly at os_win32.c:796 . > > > > > > > > > > > Ctrl-6 fire Ctrl-^ > > > > > > Ctrl-2 fire Ctrl-@ > > > > > > Ctrl-- fire Ctrl-_ > > > > > > I don't know why this code is needed. My patch can handle all keys > > > > > above. > > > > > CTRL-6 at least is probably intentional: > > > > > Possibly the others have similar reasons to exist. > > > > Ok, I'll fix code that treat the keys both. > > > > > > https://gist.github.com/5762321 > > > > The codes would depend on the keyboard layout. Since it's only one > > byte, I suspect that the 0xDE, 0xC0 and 0xE2 codes are on different keys > > on other keyboards. Thus this will break it for some people. > > > > -- > > hundred-and-one symptoms of being an internet addict: > > 160. You get in the elevator and double-click the button for the floor > > you want. > > > > /// Bram Moolenaar -- Bram. -- 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 ///
On Linux, I tested with two different keyboard settings, french and english and it works well; but not on Windows, it works only with english keyboard. How could assign the good codes 0xDE, 0xC0 and 0xE2 to the good key for different keyboard layout ? -- -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
