I have installed vim, mintty via cywin on XP. The problem is when I try to hit backspace in VIM edit mode, the cursor move back a character instead of wiping the previous char. How can I tweak this odd behavior?

link|improve this question

50% accept rate
feedback

2 Answers

up vote 6 down vote accepted

Cygwin's vim is configured to behave like traditional vi by default. Just create an empty ~/.vimrc, which causes vim extensions to be enabled and hence the Backspace and arrow keys to behave as expected.

link|improve this answer
Thanks, it works for me now:) – overboming Mar 26 '10 at 9:35
feedback

set backspace=indent,eol,start to your .vimrc file.

link|improve this answer
this was infact the solution. not creating an empty $HOME/.vimrc file. Thanks – Felipe Alvarez Apr 6 '11 at 2:39
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.