I use Xfce4, and it seems that its terminal has been upgraded and now either supports 256 colors or is true-color (I'm not sure). These seem to be the relevant variables it exports:
COLORTERM=truecolor
TERM=xterm-256color
One of the unexpected changes it has caused is that now Vim no longer respects my palette. Instead, it is using its own set of colors. Moreover, it automatically sets bg=dark
for some reason.
The closest I get to the colors I'm used to is setting colorscheme peachpuff
. But what I would really like is to have Vim honouring the 16 colors that I chose to compose my palette over years of terminal usage.
I have searched for an answer, but the "closest" I found to an answer was actually the opposite of what I'm looking for. :)
You could redefine TERM just when you invoke vim, with the terminal you want it to run with with:
(even create an alias or a function for this)
Other popular TERM values: xterm , or xterm-color