Adding vim alias to trim whitespace

master
Dustin Swan 13 years ago
parent 496cef7602
commit ffc303b4aa

@ -1 +1 @@
Subproject commit 11034217a7ea3cffe6e0fe631837c518b8c7e1a5
Subproject commit 1120f973054836eeb53750f57d69fbec41a340dc

@ -1 +1 @@
Subproject commit 03ed2bd39e37c5ff035c05197af81558eb5d8a89
Subproject commit dd8356aea7499fed92f7c37227b1625a2b3dc190

@ -166,6 +166,9 @@ nnoremap <leader>4 :! p4 edit %<cr>
" open vsplit and switch to it
nnoremap <leader>w <c-w>v<c-w>l
" trim whitespace
nnoremap <leader>W :%s/\s\+$//e<cr>
" open Ack
nnoremap <leader>a :Ack<space>

Loading…
Cancel
Save