On 05/02/09 01:58, pansz wrote:
> Tony Mechelynck 写道:
>> ^M is the normal Ctrl-M code, a synonym of the Enter key. The keypad
>> Enter is normally a synonym of the latter, but in some circumstances
>> they can be mapped separately, keypad-Enter being <kEnter>.
>>
>> :map <kEnter> <CR>
>>
>> the keypad Enter again behaves the same as the normal Enter.
>
> Well, that's definitely life-changing! I didn't realize the keypad in
> gvim has a different map (console vim does not have that difference).
>
> Now I can happily use gvim, thanks for everyone!
>
>
In Console Vim, the terminal adds an additional "interpretation layer"
between the keyboard and the application. The keyboard hardware sends
different codes for normal-Enter and keypad-Enter but the terminal might
hide the difference.
Best regards,
Tony.
--
ARTHUR: What does it say?
BROTHER MAYNARD: It reads ... "Here may be found the last words of Joseph of
Aramathea." "He who is valorous and pure of heart may find
the Holy Grail in the aaaaarrrrrrggghhh..."
ARTHUR: What?
BROTHER MAYNARD: "The Aaaaarrrrrrggghhh..."
"Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---