Loading ...
Sorry, an error occurred while loading the content.

76447Re: Insert mode navigation with the arrow keys

Expand Messages
  • Viktor Kojouharov
    Jan 3, 2007
    • 0 Attachment
      On 1/3/07, DervishD <vim@...> wrote:
      > Hi Viktor :)
      >
      > * 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!
      >
      I just tried you suggestion, but unfortunately, it didn't work. It
      still exhibits the same behavior.
    • Show all 6 messages in this topic