MikeyP.com MikeyP.com

Del^?^?^? Backspace in XTerm VIM

Having trouble with the Backspace or Delete key when using vi or vim in XTerm? Does pressing the Backspace key echo the characters ^? instead of deleting the charater in front of the cursor? Just edit your .Xdefaults file and change or add these lines to make the keys work as you would expect them to:

  XTerm*deleteIsDEL:      false
  XTerm*backarrowKey:     false
  XTerm*ttyModes:         erase ^?

Read more stories like this one...