vimrc/visual.vimrc

26 lines
778 B
Plaintext

" ----------------------------------------------------------------------------
" visual configuration
" ----------------------------------------------------------------------------
" set a colorscheme
silent! colorscheme solarized
set background=dark
highlight Normal ctermbg=black
hi Normal guibg=NONE ctermbg=NONE
" do soft wrap of text but not in the middle of words
set wrap linebreak nolist
" don't do hard wraps in any files
set textwidth=0
" add a color column at the 80 char
set colorcolumn=80
" spelling highlight needs to be done after the colorscheme load
highlight SpellBad term=underline cterm=underline
" enable English spellchecking in markdown files
autocmd FileType markdown setlocal spell
autocmd FileType markdown setlocal spelllang=en