I have added this to .vimrc
set t_Co=256
That did not seem to have an effect.
I am using the “wombat.vim” color scheme from the vim.org website. This works fine in vim-gnome, the gui version. I have tried other color schemes and some work and some do not. If gnome-terminal will not work with the color schemes is there a terminal that will?
The wombat colorscheme doesn’t define colors for anything other than the gui. You can use the CSApprox plugin to allow using gui-only colorschemes in terminal vim.
Of course, once you do that there’s still the issue of gnome-terminal not specifying the right
$TERMfor itself, so you have to eitherPut code in your vimrc to try and detect when you’re using gnome-terminal and only then manually set t_Co. CSApprox’s documentation has an example.
Put code in your shell init file to try and detect when you’re using gnome-terminal and only then manually set
$TERMto a proper valueConvince Gnome upstream to fix the bug that’s been sitting in their tracker for years to either allow users to set a proper
$TERM(without having to edit the source and recompile) or to set it properly in the first place