diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index 2487a5b..36196c5 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -216,6 +216,10 @@ nnoremap l :call VimrcCycleNumbers() augroup vimrc " {{{ autocmd! + + " Make sure the background is always transparent. + autocmd VimEnter,Syntax,ColorScheme * highlight Normal ctermbg=NONE + autocmd BufNewFile,BufRead bash_profile,bashrc,profile set filetype=sh autocmd BufNewFile,BufRead gitconfig set filetype=gitconfig autocmd BufNewFile,BufRead *.sx,*.s19 set filetype=srec