I just installed Linux Mint 18.3 and to my surprise colors in vim changed!
Vim in the terminal on the left has the color scheme I've always seen and got used to. Vim in the terminal on the right has the new colors. On the left, I'm ssh'ed into a different machine. On the right is my new Mint.
Both windows are of the same terminal emulator, with the same profile settings, so the issue is not with my color scheme.
How can I get the normal colors back?
Update: It looks like the old colors flash for a tenth of a second when I open a file, but then the colors are reverted to new. As I wrote in the comments, in both cases, :colorscheme
returns default
.
:colorscheme
schow? – Martin Tournoij Dec 18 '17 at 8:09:verbose highlight normal
to find the script that last set the "normal" highlight group. Runecho synIDattr(synID(line("."),col("."),1),"name")
to find a highlight group in effect at the cursor position. Combining them you can find out which script set the colors at the cursor position:exe "verb hi " . synIDattr(synID(line("."),col("."),1),"name")
. – jjaderberg Dec 18 '17 at 10:42:colorscheme
saysdefault
for both. – SU3 Dec 19 '17 at 6:02:verbose highlight normal
saysE411: highlight group not found: normal
,:echo synIDattr(synID(line("."),col("."),1),"name")
doesn't print anything. – SU3 Dec 19 '17 at 6:05