On Fri, 23 Dec 2022, Curt wrote:
On 2022-12-23, Nate Bargmann <n...@n0nb.us> wrote:
Because there is no colorscheme named "white" in Debian's
vim. The colorschemes are in /usr/share/vim/vim82/colors
The problem as I see it is that he wants reverse colors in 'vi' but
edited '.vimrc'. Historically those are two different programs but the
Debian alternatives eventually points 'vi' to 'vim.basic'. I would
presume that a setting that works in historic 'vi' might not be
supported by 'vim.basic'.
You'd think it would be more a question of the terminal.
- Nate
for me, the colorschemes are in /usr/share/vim/vim90/colors,
but it's difficult to make more confusing:
if I put in .vimrc "colorscheme white" or any unknown color (qwert for example)
I get a message "cannot find colorscheme xxx", but I have black on white
characters with vim.
if I put a known color (blue for example), I have no message, but I get
white on black characters.
to get rid of the message, I replaced the vi binary by a script where
stderr is redirected to /dev/null