Friday, 23 August 2013

TERM=(linux|xterm) vi in an xterm or the AAABBBBBBCCDDD-problem

TERM=(linux|xterm) vi in an xterm or the AAABBBBBBCCDDD-problem

Usually when I want to run vim in a desktop konsole session, I make sure
the TERM variable is set to linux as the arrow keys don't work in insert
mode with TERM=xterm. They show capital A..D instead of moving the cursor.
Now I think this is the wrong way of doing thingsas konsole or xterm is
actually of type xterm.
Is there a better way for making arrow keys work under vi / vim?
OS: Kubuntu 13.04 (Clean install)

No comments:

Post a Comment