Hi Tony :)

 * A.J.Mechelynck <[EMAIL PROTECTED]> dixit:
>> to hit the ESC and change modes fast, but I hadn't and now hitting ESC
>> is very unnatural to me, even though I use it in my shell to clean the
>> command line!.
> If the Esc key is too far, you may try using Ctrl-[ instead -- Vim
> sees it as Esc.

    Worst for me: I have to move both hands: Ctrl is... well, Ctrl, too
low, and my [ key is on the far right and, normally, it would need
Alt-Gr to be pressed.

    I prefer the mappings you've posted below ;)))

> One of my most precious maps is
> 
> imap jk <esc>
> imap jj <esc>
> 
> provided you don't have any other
> imap that starts with jj or jk (you will have to wait for the timeout),
> and you don't type words with that two letters next to other (I doubt 
> spanish has any) it's very handy.

    I don't use any language with something like 'jk' or 'jj' (although
I've written that combination some times in *this* thread!), so they fit
pretty well and avoids me hitting ESC.

    Sometimes I just forget how powerful are vim mappings. It doesn't
seem natural to me to map letters in insert mode O:)))

    Thanks for your help, as always!

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

Reply via email to