Just FYI this same problem began for me under wterm after a recent upgrade of vim. The solution mentioned (don't set term type to linux) worked for me too. -Steve Stancliff