|
|
|
@ -72,6 +72,9 @@ set norelativenumber
|
|
|
|
|
" turn on default spell checking
|
|
|
|
|
"set spell
|
|
|
|
|
|
|
|
|
|
" disable spellcapcheck
|
|
|
|
|
set spc=
|
|
|
|
|
|
|
|
|
|
" more risky, but cleaner
|
|
|
|
|
set nobackup
|
|
|
|
|
set noswapfile
|
|
|
|
@ -195,6 +198,7 @@ au FileType * hi IncSearch ctermbg=236 cterm=NONE ctermfg=darkred
|
|
|
|
|
au FileType * hi MatchParen ctermbg=236 ctermfg=darkred
|
|
|
|
|
au FileType markdown,pandoc hi Title ctermfg=yellow ctermbg=NONE
|
|
|
|
|
au FileType markdown,pandoc hi Operator ctermfg=yellow ctermbg=NONE
|
|
|
|
|
au FileType yaml hi yamlBlockMappingKey ctermfg=NONE
|
|
|
|
|
au FileType bash set sw=2
|
|
|
|
|
au FileType c set sw=8
|
|
|
|
|
|
|
|
|
@ -220,6 +224,7 @@ if filereadable(expand("~/.vim/autoload/plug.vim"))
|
|
|
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
|
Plug 'hashivim/vim-terraform'
|
|
|
|
|
Plug 'morhetz/gruvbox'
|
|
|
|
|
Plug 'mrk21/yaml-vim'
|
|
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
|
|
" rainbow
|
|
|
|
@ -324,7 +329,8 @@ au bufnewfile,bufRead *ssh/config set filetype=sshconfig
|
|
|
|
|
au bufnewfile,bufRead .dockerignore set filetype=gitignore
|
|
|
|
|
au bufnewfile,bufRead *gitconfig set filetype=gitconfig
|
|
|
|
|
au bufnewfile,bufRead /tmp/psql.edit.* set syntax=sql
|
|
|
|
|
au bufnewfile,bufRead *.go set spell
|
|
|
|
|
au bufnewfile,bufRead *.go set spell spellcapcheck=0
|
|
|
|
|
au bufnewfile,bufRead commands.yaml set spell
|
|
|
|
|
|
|
|
|
|
"fix bork bash detection
|
|
|
|
|
if has("eval") " vim-tiny detection
|
|
|
|
|