Sunday, May 23, 2010

Re: backspaces leaving Insert mode

Tony Mechelynck wrote:
> On 21/05/10 17:58, Bee wrote:
> > On May 21, 12:48 am, "John Beckett"<johnb.beck...@gmail.com> wrote:
> >> NickC wrote:
> >>> I've put up with this for years. Whenever I leave Insert
> >>> mode by typing the Esc key, the cursor backtracks one char.
> >>
> >> http://vim.wikia.com/wiki/Avoid_the_escape_key
> >
> > I tried the "Improving the Esc key" on that page.
> >
> > inoremap <Esc> <Esc>`^
> >
> > In Mac terminal and Linux urxvt it has side effects for the arrow
> > keys.
> >
> > The arrow keys up, down, right, left produce A, B, C, D respectively.
> >...
> > Why?
>
> Probably because Vim is not discriminating between mappings and keyboard
> sequences. I recommend the following:
>
> :set timeout timeoutlen=5000 ttimeoutlen=100

That does not help. Tried with:

vim -N -i NONE -u NONE

Still getting:
The arrow keys up, down, right, left produce A, B, C, D respectively.

Possibly a vim bug?

--
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: