" this is a mail message :set filetype=mail " Don't make *~ backups :set nobackup " Ctrl-J for paragraph justification :nmap vipgq :nmap d/^-- O " autoinsert date on :iab =strftime("%a %d %b %Y %T %Z") " spell checking ":source ~/.vim/plugin/vimspell.vim ":setlocal spell spelllang=en_ca,en_us,en :setlocal spell spelllang=en " a respectable width for text :set textwidth=72 match Error80 /\%>75v.\+/ " highlight anything past 75 in red " no auto indent or smart indent :set noautoindent :set nosmartindent " mail format options " t auto-wrap comment " c allows textwidth to work on comments " q allows use of gq* for auto formatting " l don't break long lines in insert mode " r insert '*' on " o insert '*' on newline with 'o' " 2 inserts based on second line (to allow for indented paragraphs) :set formatoptions+=2