diff options
Diffstat (limited to 'configs/shared/.vimrc')
-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 |