the nullest blog

Techrants

Problem with arrow keys and tab in Vim 7 on Cygwin

I experienced some problem with the arrow keys on Cygwin. In insert mode, pressing the arrow keys just inserted a new line and some random character (which probably wasn’t random but had some meaning - anyway,  that character  didn’t say anything to me). Furthermore, the tab didn’t work as I was used to in the Windows version of VIM. More precisely, I couldn’t use tab completion on commands in command line mode (I think shift-Tab worked though, but this is much too unorthodox for me). So, what’s this all about? Well, the problem could easily be rectified by copying an example .vimrc file to my home directory:

cp /usr/share/vim/vim71/vimrc_example.vim ~/.vimrc

The problem disappeared.

No comments yet. Be the first.

Leave a reply