John Beckett wrote:
>
> Matt Wozniski wrote:
>> For the life of me, I can't seem to get vim to recognize,
>> eg, <xHome> and <Home> as separate keycodes.
>
> Perhaps the following is an explanation:
>  :help version7
>  /xHome
>
> "Previously <Home> and <xHome> could be mapped separately.
> This had the disadvantage that all mappings (with modifiers) had to
> be duplicated, since you can't be sure what the keyboard generates.
> Now all <xHome> are internally translated to <Home>, both for the
> keys and for mappings. Also for <xEnd>, <xF1>, etc."

Yes, I saw that, but I'm pretty sure that only refers to mapping with
:map, and not setting the terminal byte sequence they correspond to
with :set.  I can't see a use for doing :map <F1> foo   and    :map
<xF1> bar, but that's exactly because they should be two separate byte
sequences that mean that the same key was pressed.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui