diff options
author | William Carroll <wpcarro@gmail.com> | 2017-07-31T03·56-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2017-07-31T03·56-0400 |
commit | 622dbcb8332f71809cb8008d7df4e75e5f92d28e (patch) | |
tree | c6d6b7ee4bdd24ed7aeca8b14a8daf65efb15623 /configs | |
parent | 328fd88e98dc5a345161007b7a2324db3d111b60 (diff) |
Adds conditional cfg for TC support
Diffstat (limited to 'configs')
-rw-r--r-- | configs/shared/.vimrc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configs/shared/.vimrc b/configs/shared/.vimrc index b54ef3056df2..b647eff2c526 100644 --- a/configs/shared/.vimrc +++ b/configs/shared/.vimrc @@ -116,7 +116,14 @@ set background=dark syntax enable 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 undolevels=1000 |