Mapping <C-[>

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Mapping <C-[>

jason heddings
Hello-

I can understand why when I map <C-[> to something, it changes the <Esc>
behavior.  Is there any way around this?

Thanks,
--jah

Reply | Threaded
Open this post in threaded view
|

Re: Mapping <C-[>

A.J.Mechelynck
----- Original Message -----
From: "jason heddings" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, August 30, 2005 11:00 PM
Subject: Mapping <C-[>


> Hello-
>
> I can understand why when I map <C-[> to something, it changes the <Esc>
> behavior.  Is there any way around this?
>
> Thanks,
> --jah

AFAIK, there isn't, other than using some other key combination.

To Vim, Ctrl-[ and Esc are indistinguishable, like Ctrl-I and Tab, Ctrl-M
and Return, etc.

If you map /several/ keys, see the 'timeout' 'ttimeout' 'timeoutlen' and
'ttimeoutlen' options.


Best regards,
Tony.