-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Shlomi Fish
Sent: 24 October 2010 21:16
To: [email protected]
Cc: PabloHot
Subject: Re: Mapping <C--> fails argh......help!!

On Sunday 24 October 2010 21:36:17 PabloHot wrote:
>  From: [email protected] [mailto:[email protected]] On 
> Behalf Of PabloHot
> Sent: 23 October 2010 20:56
> To: [email protected]
> Subject: Mapping <C--> fails argh......help!!
> 
>> >Hi All,
>> >I'm trying something like :map <C--> ... but just cannot get this to 
>> >work.  I have tried using Ctrl-K to enter the '-' key, using {minus}, 
>> >but the mapping does nothing when I type it.  If I map map '-'
>> >
>> >on its own it works perfectly , but just cannot get it to work when 
>> >using the Ctrl key.  Is this a bug, or a I an idiot? Please >help!!!
>> >
>> >Sincerely,
>> >Pablo Contreras
>> 
>> Can I just confirm this, have tried :map - ... and it works, but when 
>> i add Ctrl key it does not work.  Have tried every combination i can 
>> think of, including :map <C--> ..., :map <C-minus>, :map <C-kMinus>, 
>> :map <C-[Ctrl-K
>> + '-' key]> ..., either way the result of pressing Ctrl-- is just that 
>> + a
>> 'beep' is produced, of a 'flash' if you have set visualbell in your 
>> _vimrc file.
>> 
>> This is quite frustrating.  Have used AutoHotKey as a work-around but 
>> I would really like to know if I can map these keys.
>>
>> I use Vim 7.3 on WinXP.

>I'm using gvim 7.3 on x86-Linux and I can confirm this:
>
>:map <C--> :echo "hello"<CR> does not appear to have any effect.
>
>Regards,
>
>       Shlomi Fish

Thank you for confirming this, Shlomi :) I thought I was going mad!!
All the best,
Pablo.

-- 
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

Raspunde prin e-mail lui