Tuesday, October 26, 2010

Re: Avoiding the escape timeout

On Oct 25, 8:12 am, "Christian Brabandt" wrote:
> On Mon, October 25, 2010 6:05 am, Ben Fritz wrote:
> > :help c_<Esc>
>
> >                                                    *c_<Esc>*
> > <Esc>                When typed and 'x' not present in 'cpoptions', quit
> >            Command-line mode without executing.  In macros or when 'x'
> >            present in 'cpoptions', start entered command.
> >            Note: If your <Esc> key is hard to hit on your keyboard, train
> >            yourself to use CTRL-[.
>
> > Note the "in macros" text. Apparently this also applies to mappings.
> > The "when typed" certainly does not apply to mappings.
>
> Yes. But I am asking, why it behaves that way. If I map ESC to a diferent
> key, I want it to behave like ESC and not to do something different.

I agree (even if there's a fairly straightforward workaround).

Thanks for looking into this,
Andy

--
You received this message from the "vim_use" 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

No comments: