Vim – Fix arrow keys that display A B C D on remote shell

A little fix for arrow keys in Vim, that display A B C D on remote terminal if in the system you don’t wanna declare “TERM” just insert into yout ~/.vimrc the terminal type like this:

set term=xterm

1 thought on “Vim – Fix arrow keys that display A B C D on remote shell”

  1. Thanks Man!.. it work for my Cygwin ViM Terminal when I connected from MAC… Keep sharing… :)

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.