Fantastic. If you use vim, you should have this in your .vimrc:
" Remove any trailing whitespace that is in the file
autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
" Remove any trailing whitespace that is in the file
autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif
which has some advantages (described in the README)
This plugin is better than using the builtin vim 'list' command because it
doesn't show an annoying highlight while you are typing in insert mode at the
end of a line. set list
set listchars=trail:•
In other people's code, use `set nolist` to prevent hyperventilation.In general, explore `help list`.