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 + <