.vimrc 422 B

123456789101112
  1. set relativenumber
  2. set nobackup
  3. syntax on
  4. autocmd BufWritePre * :%s/\s\+$//e
  5. " https://brianbuccola.com/line-breaks-in-mutt-and-vim/
  6. " Add format option 'w' to add trailing white space, indicating that paragraph
  7. " continues on next line. This is to be used with mutt's 'text_flowed' option.
  8. augroup mail_trailing_whitespace " {
  9. autocmd!
  10. autocmd FileType mail setlocal formatoptions+=w textwidth=80
  11. augroup END " }