in reply to Re^3: [somewhat OT now] Can't get vim to stop outdenting Perl comments, any ideas?in thread Can't get vim to stop outdenting Perl comments, any ideas?
Use the macro ...
" Strip end white space
nnoremap S :%s/\s\+$//<CR>
nnoremap s :s/\s\+$//<CR>
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (302 votes). Check out past polls.