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

main
Buddy Sandidge 12 years ago
parent 1815f3d896
commit 50be14282f

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

Loading…
Cancel
Save