From 80ef3923fd439a34da074b2174b49c49d82d57ec Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 15 Jul 2014 02:20:47 -0400 Subject: [PATCH] Better organized "word processing" style formats, and prevented linewraping in the middle of words. --- vim/config/after.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vim/config/after.vim b/vim/config/after.vim index b777fef..72ce5a8 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -29,10 +29,8 @@ endif "FILETPE AND SYNTAX: {{{ "misc filtype specific settings - autocmd FileType gitcommit,notes,mail,notmuch,mkd,text setlocal spell - autocmd FileType notes,mail,notmuch,mkd,text setlocal nonumber - autocmd FileType mail,notmuch,text setlocal wrap - autocmd FileType notes setlocal tw=80 + autocmd FileType gitcommit,notes,mail,notmuch,mkd,text setlocal nonumber spell nolist wrap linebreak breakat&vim "some defautls for word processing + autocmd Filetype mkd setlocal breakat-=* "prevent breaking *s from words to linewrap in markdown 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