Use 16-bit colours at 'linux' and 'Eterm' consoles
This commit is contained in:
parent
cf4b87b81b
commit
a8448908af
1 changed files with 6 additions and 2 deletions
8
vimrc
8
vimrc
|
@ -87,8 +87,12 @@ if has("eval")
|
|||
let g:netrw_sort_sequence='[\/]$,*'
|
||||
let g:netrw_winsize=-28
|
||||
" Use 256-color mode unless at the Linux console or in Eterm.
|
||||
if &t_Co == 8 && $TERM !~# '^linux\|^Eterm'
|
||||
set t_Co=256
|
||||
if &t_Co == 8
|
||||
if $TERM !~# '^linux\|^Eterm'
|
||||
set t_Co=256
|
||||
else
|
||||
set t_Co=16
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue