Tuesday, July 19, 2011

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

On 7/07/11 12:00 PM, Ben Schmidt wrote:
> On 6/07/11 11:40 PM, Ben Schmidt wrote:
>> On 4/07/11 10:56 PM, Tim Chase wrote:
>>> 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 just realised I'm seeing this, as I pressed an arrow key by mistake (I
>> never usually use them)!
>>
>> So this may be a recent regression.
>>
>> Which Vim versions are you using?
>>
>> I might try to do a bisect with Mercurial to identify which changeset
>> introduced the problem anyway.
>
> Hmm. No, I don't think this is it. I tried doing a bisect, but trying to
> find a good changeset didn't really work--Vim 7.3.2 has the problem, and
> I definitely didn't experience the behaviour that long ago. I get the
> problem with -u NONE, so it's not just configuration either. So I don't
> know what's causing it yet.

Making a little progress tracking this down. For me it happens when I
start Vim normally, or with -u NONE or with -N. However, if I use
-u NONE -N (both options together), the problem does not occur.

I'll post again if I make more progress. In the meantime, though, does
that set of switches fix it for others experiencing this problem?

Ben.

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