www.rodneybeede.com "I would love to change the world, but they won't give me the source code" - unknown

Ubuntu vi or vim arrow key problem - Last Modified 2010-03-05 16:58 UTC - Created 2010-03-05 16:58 UTC

After installing Ubuntu 9.10 64-bit I had problems with my arrow keys in VI. I thought at first the problem was my remote ssh session over putty, but then a terminal on my local console did the same thing.

When in text insert/append mode pressing the arrow keys would insert A B C D into the document instead of moving the cursor.

The fix was found at http://ubuntuforums.org/archive/index.php/t-286963.html

In short vi-tiny was installed instead of the complete vim. Just install vim and it will be fixed.