" highlight double words (its unlikely they are right) autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL set autoindent nosmartindent nocindent set formatoptions+=n " When formatting text, recognize numbered lists. set formatoptions+=1 " do not break after a one letter word " set formatoptions+=p " Don't break lines at single spaces that follow periods. set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) set noexpandtab set spell set complete+=kspell inoremap " nnoremap :normal " autocmd CursorHoldI * normal s