In article <t0klig$j7j$
2...@dont-email.me>,
Chris Elvidge <
ch...@mshome.net> wrote:
>On 15/02/2022 20:13, James wrote:
>> All I want is white on dark background or vise versa.
>>
>> Thanks
>> James
>>
>
>Put 'syntax off' at the end of your .vimrc file.
Or just turn the computer off. (I.e., turning syntax off is about as
stupid as turning the whole computer off).
Anyway, this question was recently raised and answered - in a slightly
different guise, but the same basic question - in one or the other of these
newsgroups - I think either this one (shell) or comp.editors. And the
answer, provided, I think, by Mr. Elijah, was to do:
set t_Co=0
This tells vim that your terminal has zero colors. You still get syntax
highlighting (which is key), but it is all done with shades of black,
white, and grey.
I find this useful - and have an alias of:
alias vi='vim -c "set t_Co=0"'
in my LXDE windows. Because for some reason, the combination of LXDE's
default color scheme (white on black) and VIM's color scheme for syntax
highlighting (particularly, for shell scripts) is horrid.
--
"If our country is going broke, let it be from feeding the poor and caring for
the elderly. And not from pampering the rich and fighting wars for them."
--Living Blue in a Red State--