From 5a157d48604daa6a1d2c146a3683d5cb1cdd18f8 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Wed, 27 Oct 2010 16:48:17 -0700 Subject: [PATCH] vimrc: add whitespace stripper --- .vimrc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) 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 -- 1.6.6.rc1.39.g9a42