I had problem with arrow keys while trying vim inside Windows 8.1 using cygwin. The issue was, printing A/B/C/D while navigating with Arrow keys in insertion mode. The solution worked for me is:
cp vimrc_example.vim ~/.vimrc
Basically, above command copying
vimrc_example.vim
file to
/home/<user name>/.vimrc
.