Fix colours in tmux
This commit is contained in:
parent
8bcd8e2c45
commit
7e1e068ff8
1 changed files with 6 additions and 1 deletions
7
vimrc
7
vimrc
|
@ -126,7 +126,12 @@ if has("eval")
|
|||
set t_Co=16
|
||||
endif
|
||||
colorscheme PaperColor
|
||||
set termguicolors
|
||||
|
||||
if &term =~# '256color' && ( &term =~# '^screen' || &term =~# '^tmux' )
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
endif
|
||||
endif
|
||||
|
||||
"=============================================================================
|
||||
|
|
Loading…
Reference in a new issue