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 m
This is what worked for me (based on initial solution from @Phoenix above)
imap ^[OA kli imap ^[OB jli imap ^[OC lli imap ^[OD hli
for each ^[ type the sequence press ctrl-v, then ESC