Adds conditional cfg for TC support
This commit is contained in:
parent
328fd88e98
commit
622dbcb833
1 changed files with 8 additions and 1 deletions
|
@ -116,7 +116,14 @@ set background=dark
|
||||||
syntax enable
|
syntax enable
|
||||||
colorscheme onedark
|
colorscheme onedark
|
||||||
|
|
||||||
set termguicolors
|
if has('termguicolors')
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
|
||||||
|
if &term =~# '^screen'
|
||||||
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
|
endif
|
||||||
|
|
||||||
set history=1000
|
set history=1000
|
||||||
set undolevels=1000
|
set undolevels=1000
|
||||||
|
|
Loading…
Add table
Reference in a new issue