Why don't my arrow keys work in vim under iTerm? They work just fine if I use Terminal and start a vim session, but under iTerm I have to resort to using H-J-K-L to do left-up-down-right movement.

In both Terminal and iTerm TERM=xterm-color. My .vimrc is quite lean and there are no key bindings set in there that would causing this problem.

iTerm v0.10.
The following worked for me.

In iTerm2:


Profiles -> Open Profiles...
Edit Profiles...
Keys tab
From Load Preset... drop-down, pick Terminal.app compatibility