diff options
author | Guangxiong Lin <[email protected]> | 2021-10-24 15:54:21 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-10-24 15:55:32 +0800 |
commit | e21c80014f198160d0d2adedcba7de07d062285a (patch) | |
tree | 725604e8d7ea20224e83a133324f15054aefe29a | |
parent | bb6d859b4a1542c678ba3d3146f8e97df62690c0 (diff) | |
download | dotfiles-e21c80014f198160d0d2adedcba7de07d062285a.tar.gz dotfiles-e21c80014f198160d0d2adedcba7de07d062285a.tar.bz2 dotfiles-e21c80014f198160d0d2adedcba7de07d062285a.zip |
Update vim apparence config
-rw-r--r-- | .vimrc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -5,7 +5,6 @@ set number set backspace=indent,eol,start syntax on set fileencodings=ucs=bom,utf-8,utf-16,gbk,big5,gb18030,latin1 -set t_Co=256 set showcmd set autoread set mouse=a @@ -22,7 +21,12 @@ set hidden set completeopt=menu,menuone -if $COLORTERM is 'truecolor' +" set Vim-specific sequences for RGB colors +let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" +let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" +set t_Co=256 + +if has("termguicolors") set termguicolors endif |