edgecase/vim-config — pull request #21 by sillylogger (2013-01-09 04:56:27+00:00)
Title: Strips trailing whitespace w/out moving the cursor

Stripping whitespace currently moves the cursor to the last substitution, this saves the cursor location and resets it after the replacements.