I know there is already a plethora of Vim/Emacs and Solarized questions so I am a bit hesitant to add yet another, but I can't seem to find any that address this exact issue.
The problem is that the same file looks very different in Vim than it does in Emacs when both editors are setup to use the solarized-dark theme. And what I can't figure out is whether this is an issue with Solarized or just a fundamental difference between Vim and Emacs.
Here is what I am working with:
- Crunchbang Linux
- rxvt-unicode-256color using solarized-xresources
- Tmux with
default-terminal
set toscreen-256color
- Vim 7.3 using this solarized-dark theme
- Emacs 24.3 using this solarized-dark theme
In order for Emacs to display the background color properly I have to explicitly set TERM to xterm-16color
. However, the colors look exactly the same whether I am running the editors in a terminal or in their respective GUIs (gvim and emacs without the -nw
flag).
Here is a screenshot with Vim on the left and Emacs on the right:
Ultimately, I want to get the Emacs colors to look exactly like the Vim colors. Is this possible? If so, is it a matter of tweaking the Emacs version of the color scheme? Or, is this just a fundamental difference between the two editors that can't be change?