Better organized "word processing" style formats, and prevented

linewraping in the middle of words.
This commit is contained in:
Kevin MacMartin 2014-07-15 02:20:47 -04:00
parent 1cc6d8db23
commit 80ef3923fd

View file

@ -29,10 +29,8 @@ endif
"FILETPE AND SYNTAX: {{{ "FILETPE AND SYNTAX: {{{
"misc filtype specific settings "misc filtype specific settings
autocmd FileType gitcommit,notes,mail,notmuch,mkd,text setlocal spell autocmd FileType gitcommit,notes,mail,notmuch,mkd,text setlocal nonumber spell nolist wrap linebreak breakat&vim "some defautls for word processing
autocmd FileType notes,mail,notmuch,mkd,text setlocal nonumber autocmd Filetype mkd setlocal breakat-=* "prevent breaking *s from words to linewrap in markdown
autocmd FileType mail,notmuch,text setlocal wrap
autocmd FileType notes setlocal tw=80
autocmd FileType help* wincmd L "help windows always open vertically autocmd FileType help* wincmd L "help windows always open vertically
autocmd FileType help* vertical resize 80 "set the window size to 80 cols autocmd FileType help* vertical resize 80 "set the window size to 80 cols
autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line