3

In iTerm2, the background color looks like this: enter image description here

While in Vim, the color looks like this (I'm using https://github.com/altercation/solarized): enter image description here

I'd like the first version everywhere. Now, I've never understood terminal colors, but this is my setup:

  • TERM is set to xterm-256color in iTerm2's preferences.
  • in my vimrc, I have

    let g:solarized_termcolors=256
    set t_Co=256
    set bg=dark
    colo solarized
    

In MacVim, I see proper colors wothout any adjustment. What do I need to do?

1 Answer 1

6

The answer is to delete let g:solarized_termcolors=256 since that will tell vim to use degraded colors (see https://github.com/altercation/vim-colors-solarized#important-note-for-terminal-users)

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.