From 50be14282f68b6b90e029e32c0a5a3349b96d35c Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 13 Jan 2013 16:01:30 -0800 Subject: [PATCH] Add vim shortcut to trim trailing whitespace: ts --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 289d133..884d2f3 100644 --- a/vimrc +++ b/vimrc @@ -38,6 +38,7 @@ map rc :source $MYVIMRC map nt :NERDTreeToggle map ss :setlocal spell! map ct :TlistToggle " taglist shortcut +map ts :%s/\s\s*$//g " trim trailing whitespace if bufwinnr(1) map + <