Combine word-processing settings and make breakat settings more robust

This commit is contained in:
Kevin MacMartin 2014-08-26 03:07:04 -04:00
parent a3971297aa
commit f8cce36327

View file

@ -41,8 +41,7 @@ endif
autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=.
"filtype specific settings
autocmd FileType gitcommit,notes,mail,notmuch,text,taskreport setlocal nonumber spell nolist wrap linebreak breakat&vim "some defautls for word processing
autocmd Filetype mkd,mkdc setlocal nonumber spell nolist wrap linebreak breakat&vim breakat-=* breakat-=. "set some defaults for markdown
autocmd Filetype text,mkd,mkdc,gitcommit,notes,mail,notmuch,taskreport setlocal nonumber spell nolist wrap linebreak breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "set some defaults for word processing
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* setlocal nocursorline "remove the horizontal cursor line