Fix vim background colour issue with tmux
This commit is contained in:
parent
47d194015a
commit
459aeca431
8
.vimrc
8
.vimrc
|
@ -82,6 +82,14 @@ set colorcolumn=90
|
||||||
" Show trailing whitespace
|
" Show trailing whitespace
|
||||||
set list listchars=tab:»·,trail:·
|
set list listchars=tab:»·,trail:·
|
||||||
|
|
||||||
|
" Fix vim's background colour erase - http://snk.tuxfamily.org/log/vim-256color-bce.html
|
||||||
|
if &term =~ '256color'
|
||||||
|
" Disable Background Color Erase (BCE) so that color schemes
|
||||||
|
" work properly when Vim is used inside tmux and GNU screen.
|
||||||
|
" See also http://snk.tuxfamily.org/log/vim-256color-bce.html
|
||||||
|
set t_ut=
|
||||||
|
endif
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" CUSTOM AUTOCMDS
|
" CUSTOM AUTOCMDS
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user