vim: make background transparent
This way vim uses whatever the terminal has set as its background color and therefore will "inherit" the terminal's transparency if that is in use.
This commit is contained in:
parent
b009800b31
commit
3cb2b20788
1 changed files with 4 additions and 0 deletions
|
@ -216,6 +216,10 @@ nnoremap <silent> <leader>l :call VimrcCycleNumbers()<CR>
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue