Alex Rivera | Logout

Arrow keys type capital letters instead of moving the cursor

Asked 2010-11-29T12:47:19.490
29

I've installed the latest vim using homebrew and also installed mac-vim from the google code homepage. in mac-vim everything works fine. but when I run vim in terminal.app in mac and go to insert mode I'll get A B C D for arrow keys which is extremely annoying.

I googled it and tried all the solutions but nothing is working for me!

it gets intresting when I run vim with vim -u NONE -U NONE -N then the arrow keys start to function normally in insert mode.

my vimrc files are a clone of janus (from carlhuda)

do you have the same problem in terminal? is there a way to fix it in terminal.app?

Edit
Report

1 Answer

47

Just create an empty ".vimrc file in the home directory of the remote machine. It started working fine for me.

touch ~/.vimrc
answered 2012-12-26T13:35:56.927

Your Answer