Command :version produces this first line:
Quote:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiles Aug 2 2017 00:45:39)
|
Please try to forgive typos as I cannot copy/paste from the Linux machine to here. (But do not ignore typos, it may be accurate here but wrong in my vimrc file.) The .vimrc looks like this:
Quote:
set expandtab
set shiftwidth=4
set softtabstop=4
#
# Set highlight and background for search results
hi Search cterm=NONE ctermfg=desert ctermbg=darkblue
# below for GUI
# guibg=desert guifg=darkblue
|
When vim starts it complains about lines 4, 5, 7, 8 with comments such as:
Quote:
Line 4:
E749: empty buffer
Line 5:
Trailing characters: #Set highlight and background for search results.
|
I did look that up and found that the # (hash or pound character) is the comment character. Evidently, as implemented on this computer, VIM does not like it.
The phrase:
looks ok but:
has the text
desert highlighted in red with white text. I suspect it does not like desert. However, I found directory:
Quote:
/usr/share/vim/vim74/colors
|
In there are 18 color files named *.vim and both desert and darkblue are present.
Sometimes I miss the obvious but I do note that the colors are found as noted above and that this directory:
/usr/share/vim/vimfiles/colors
is empty. Might that be important? It is write protected from the user. So, ..., how can I discover all the places VIM looks for files that I can configure/edit?
Edit: color list:
I cannot find a list of all the colors than
vim recognizes. And such a list really should have a sample of each color. Does anyone know where to find such a list?