You are not logged in.
Pages: 1
Hi,
I'm trying to get the solarized theme for Vim working in the terminal http://ethanschoonover.com/solarized.
The problem I'm having is that it doesn't look like the pictures which are on the site; the colors are off. However, the solarized theme claims to support Vim terminal fine. I followed the readme about the setup.
I have copied the Xresources file provided with the solarized theme to my home folder, and I've set up my Vim appropriately. The colors are close, but not quite the same. My TERM setting is set to xterm, not xterm-256color, does this matter if my Xresources file is set up correctly? If not, how do I set up xfce4-terminal so that it does use xterm-256color? I tried changing the environment variable for it in the options instead of setting it in bashrc, but I just get VTE errors. I exported it manually in a terminal session and made sure tput colors outputted 256, but this made no difference when running Vim.
I tried using urxvt but it didn't work correctly and the fonts are really ugly, so I'd rather stick to xfce4-terminal if I can cause it doesn't require as much configuration.
I feel as if I'm missing something, this seems a lot more complicated than it should be to just get a colorscheme working in Vim terminal. Am I missing something?
Offline
What do you mean when you say you've set up your vim appropriately? Terminal colorschemes from .Xresources and vim colorschemes from .vim files are different. Did you install the solarized colorscheme for vim? More precisely, did you install solarized.vim file in either ~/.vim/colors or /usr/share/vim/vim73/colors, or alternately install vim-solarized-git from the AUR? Did you add "colorscheme solarized" to your .vimrc? You can check if you've got the solarized colorscheme properly installed for vim by issuing the command "colorscheme solarized" in vim. If solarized isn't recognized as a colorscheme, it's not installed.
Last edited by bananagranola (2013-05-04 18:14:18)
Offline
Sorry I should have mentioned this in my post. I installed solarized into ~/.vim/colors. I'm invoking 'colorscheme solarized' in Vim right now to test it.
Offline
What is the output of
echo $TERMOffline
Hello.
Surely, you are write down in vim, but in case not
:syntax on
Could you try another colorscheme to test vim?
And for urxvt, you could try the next:
urxvt -fn xft:DejavuSansMono:pixelsize=18 &Edit: You said they are close. Strike through text.
Last edited by Alber (2013-05-04 19:48:20)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
Try this:
set t_Co=256Offline
Pages: 1