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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!