Add vim shortcut to trim trailing whitespace: <leader>ts

This commit is contained in:
Buddy Sandidge 2013-01-13 16:01:30 -08:00
parent 1815f3d896
commit 50be14282f

1
vimrc
View File

@ -38,6 +38,7 @@ map <leader>rc :source $MYVIMRC<CR>
map <leader>nt :NERDTreeToggle<CR>
map <leader>ss :setlocal spell!<CR>
map <leader>ct :TlistToggle<CR> " taglist shortcut
map <leader>ts :%s/\s\s*$//g<CR> " trim trailing whitespace
if bufwinnr(1)
map <leader>+ <C-W><