From: Colin Patrick McCabe Date: Wed, 27 Oct 2010 23:48:17 +0000 (-0700) Subject: vimrc: add whitespace stripper X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a157d48604daa6a1d2c146a3683d5cb1cdd18f8;p=cmccabe-etc vimrc: add whitespace stripper --- diff --git a/.vimrc b/.vimrc index 1761662..62f80bc 100644 --- a/.vimrc +++ b/.vimrc @@ -54,6 +54,9 @@ map ,,# :s/^#//:nohlsearch map ," :s/^/\"/:nohlsearch map ,," :s/^\"//:nohlsearch +" whitespace stripper +map ,w :s/[\t ][\t ]*$// + "*************** shortcuts ************** map \b :ConqueTermSplit bash map \B :ConqueTermVSplit bash