dotfiles/vimrc
Josh Sherman b6bb5b395d
Turned color column on by default
Been using it a ton lately, figured time to just flip it on. Also dropped the
tabnine stuff as I'm no longer using it.
2020-01-19 18:32:01 -06:00

25 lines
526 B
VimL

syntax on
color solarized
set background=dark
" FIX: Spell check highlighting broke for some reason
hi SpellBad ctermfg=white ctermbg=red
set ai et si sts=2 sw=2 ts=2
set cc=80,100,120
set hid
set hls ic is
set nu rnu
set directory=~/.local/share/vim/swap,/tmp
set undodir=~/.local/share/vim/undo,/tmp
set undofile
autocmd FileType php,python setl sts=4 sw=4 ts=4
autocmd FileType gitcommit,markdown,text setl nosi spell
autocmd FileType markdown,text setl tw=80 wm=2
autocmd BufWritePre * :%s/\s\+$//e
set rtp+=~/.fzf