This simple plugin will strip the trailing whitespace from the file you are editing. However, it does this only on the lines you edit or visit in Insert mode; it leaves all the others untouched. I wrote this plugin because I work with people whose editors don't clean up whitespace. My editor (Vim) did strip all whitespace, and saving my edits caused a lot of extraneous whitespace changes that showed up in version control logs. This plugin gives the best of both worlds: it cleans up whitespace on edited lines only, keeping version control diffs clean.