From f8cce363276f38c375777c0276122994032c9586 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 26 Aug 2014 03:07:04 -0400 Subject: [PATCH] Combine word-processing settings and make breakat settings more robust --- vim/config/after.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vim/config/after.vim b/vim/config/after.vim index ba8dcab..563bcd0 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -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