vim arrow keys inserting strange character in iterm2
Setting the Report Terminal Type to ansi or linux in my profile solved my problem.

When the terminal type of your sessions is set to one of those "xterm" types, iTerm handles the arrow keys, the home key, and the end key in a special way.