76447Re: Insert mode navigation with the arrow keys
- Jan 3, 2007On 1/3/07, DervishD <vim@...> wrote:
> Hi Viktor :)I just tried you suggestion, but unfortunately, it didn't work. It
> * Viktor Kojouharov <vkojouharov@...> dixit:
> > With the upgrade to vim 7, I am no longer able to navigate in insert
> > mode with the arrow keys. This happens in any terminal. In gvim, they
> > work fine. Instead of moving the cursor, the arrow keys do something
> > like pressing O in normal mode, and then inserting A, B, C or D
> > depending on the key pressed. They broke when I migrated to vim 7, and
> > no other changes were made. The TERM variable hasn't changed, and
> > neither did the ncurses library.
> Could it be related with key timeouts? What you report looks like
> the ESC + '[' at the beginning of the escape sequence for the arrow keys
> is interpreted separated from the 'A', 'B', 'C' and 'D' (which is the
> last part of the escape sequence for arrow keys at least under Linux).
> If so, tweak the timeout options. I have:
> set timeout
> set timoutlen=1000
> set nottimeout
> set ttimeoutlen=100 "Just in case...
> This works for me.
> 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!
still exhibits the same behavior.
- << Previous post in topic Next post in topic >>