For a 16-color display: if has("terminfo") let &t_Co=16 let &t_AB="\[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm" let &t_AF="\[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm" else let &t_Co=16 let &t_Sf="\[3%dm" let &t_Sb="\[4%dm" endif [help xfree-xterm] For an 8-color display: if &term =~ "xterm" if has("terminfo") let &t_Co=8 let &t_Sf="\[3%p1%dm" let &t_Sb="\[4%p1%dm" else let &t_Co=8 let &t_Sf="\[3%dm" let &t_Sb="\[4%dm" endif endif
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
Version |
|
dbkwik:vim/property/wikiPageUsesTemplate | |
Previous |
|
Category |
|
Author |
|
Subpage |
|
Complexity |
|
Created |
|
ID |
|
NEXT |
|
abstract |
|