Monday, July 4, 2011

Re: arrow keys don't move cursor but output ABCD in INSERT mode

On 07/04/2011 03:07 AM, Kent wrote:
> last weekend I finally did the switch from .vim to
> vim-addon-manager. after the change, I made some small tests,
> almost everything looks fine. but the arrow key don't move
> cursor in INsert mode any longer, just ouput A, B, C, and D. I
> remembered that could be the vi-compatible problem.

This sounds suspiciously like your terminal is sending an escape
sequence to move the cursor, and that the escape is being eaten.
I'd start by checking your timeouts:

:verbose set tm? ttm? to? ttimeout?

and reading at the documentation for those settings. However,
I'm not sure (1) why it would only be noticed in insert mode
rather than in all modes, nor (2) why switching to the
vim-addon-manager would have triggered the change.

If there's nothing hinky about those timeout settings (responding
with their values and where they were last set would be the next
step), perhaps others on the list would have other ideas.

-tim

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