tags:

views:

39

answers:

1

when i type a line say

Happy new

and then <backspace><backspace> and then retype

the old characters stay around until i type 3 or 4 characters.

This is very disorienting.

+2  A: 

This happens when vim is in "vi compatible" mode; I'm not sure exactly which option controls the behaviour, probably ":set backspace".

Doing ":set nocompatible" will make it behave as you expect; if you don't have expectations like that, doing ":set nocompatible" is probably a good thing.

janm
Thanks janm. I have no idea why I did :set cp. Vim works a lot better now.
suresh