I have the following in my .vimrc:
if has("gui_running") colo desert " ... else colo distinguished " ... endif
gvim works fine. When I open vim in gnome-terminal in tmux, the
colo above is seemingly ignored. Other directives in the else block execute, but when I enter
:colo it returns
When I manually enter
colo distinguished it works.
I have the usual entries
set t_Co=256, etc. elsewhere. So this isn't merely a problem of getting 256-color gnome terminal / tmux.
OS is Ubuntu 12.04 LTS. vim 7.3 2010 Aug 15