A. S. Budden a écrit :
> 2008/12/9 ludo <[EMAIL PROTECTED]>:
>   
>> Jürgen Krämer a écrit :
>>     
>>> Hi,
>>>
>>> ludo wrote:
>>>
>>>       
>> [...]
>>     
>>> you probably have a buffer-local mapping like
>>>
>>>   :map <buffer> <S-F4> u
>>>
>>> defined somewhere. You can check this with
>>>
>>>   :map <S-F4>
>>>
>>> This should show something like
>>>
>>>   <S-F4>      @u
>>>   <S-F4>         :cprev <CR>
>>>
>>>       
>> unfortunately, when I execute
>>    :map <S-F4>
>> Vim displays 'No mapping found'
>>
>>     
>>> The mapping with the ampersand is the buffer-local one and this takes
>>> precedence over the second one.
>>>
>>> If you want to know where the first mapping was defined execute
>>>
>>>   :verbose map <S-F4>
>>>
>>> and you get something like
>>>
>>>    <S-F4>       @u
>>>       Last set from c:\map_u.vim
>>>    <S-F4>        :cprev<CR>
>>>
>>>       
>> and ':verbose map <S-F4>' also displays 'No mapping found'
>>
>> Maybe, the problem is around the SHIFT key
>> When I try to use Fx key (F2,  ... F12) with the additionnal SHIFT key
>> for the :map function, it's failed
>>    :map <F4> :do_something
>>    :map <F...> :do_something
>>    :map <F12> :do_something
>> all succeeded
>>
>> but when I try
>>    :map <S-F4> :do_something
>>    :map <S-F...> :do_something
>>    :map <S-F12> :do_something
>> all failed :-(
>>     
>
> Check that the operating system isn't getting in the way: go to insert
> mode and hit Ctrl-V Shift-F4.  If you get <S-F4> then I would expect
> the mapping to work.
>   
when I hit 'Ctrl-V Shift-F4'  => Vim displays ^[[26~
when I hit 'Ctrl-V F4'  => Vim displays ^[[14~

I use Vim 7.2 for cygwin with XP


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

Reply via email to