[ILUG] mapping ESC to ALT in Vi

_FULLNAME_ charles.sharp at ireland.sun.com
Thu Feb 15 18:35:21 GMT 2001


This really isn't answering
the question, but <CTRL-[>
generates an ESC.

Using this will save having to
map and is available wherever
vi is sold.

hth,
cas

Eoin Kelly wrote:
> 
> Hi all,
>    subject line says it all. ESC is way in the corner on my keyboard so I've
> tried the usual
> :map <CTRL-V><ESC> <CTRL-V><ALT>
> to no avail though I can map ESC to (for example) ALT+A using this.
> 
> \begin{shaky ground}
> The vi manual seems to indicate that it is possible to input scancodes or
> similar directly but not as far as I can gather in command mode.....and
> anyway that didn't work when I tried it.
> \end{shaky ground}
> 
> Help appreciated
> -Eoin
> 
> --
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie




More information about the ILUG mailing list