On Archlinux, using Vim 7.4 (installed with pacman), I tried to use the lucius color scheme. However, the moment I turned it on, all color went away. This happened in the Xfce Terminal emulator under XFCE (black on white, since that was the color scheme of the emulator), or before even starting X11 (then, white on black). Going back to the default coloring scheme turned colors back on.
Using Vim under uxterm
did not have this problem.
On Ubuntu 12.04, using Vim 7.4 (compiled from source) with the exact same .vimrc
and .vim
contents, on the same Xfce terminal emulator, under XFCE, did not have this problem.
I did manage to get it to work on Archlinux for Xfce terminal and command line: I added the following to the top of my .vimrc
:
set t_Co=256
This suggestion came from here.
What was wrong with my setup before that? What is the correct way to get this to work?