Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6542145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:11:25+00:00 2026-05-25T11:11:25+00:00

I am having a strange issue with iTerm2, in terminal vim (non-gui) and the

  • 0

I am having a strange issue with iTerm2, in terminal vim (non-gui) and the solarized color scheme. First, I have set iTerm2 to use the dark solarized colour scheme.

I am also using solarized for vim. I have the following lines in my .vimrc

set background=dark
colorscheme solarized

In the terminal the color scheme looks incorrect:
console vim

For reference this is how it looks under MacVim (gui vim)
gui vim

What do I need to change in iTerm or my .vimrc to get the colors looking correctly in my console vim?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:11:25+00:00Added an answer on May 25, 2026 at 11:11 am

    A couple of things to check:

    1. In iTerm2, in Preferences -> Profiles -> Terminal, under “Terminal Emulation” you have “Report Terminal Type:” set to xterm-256color.

    2. In your .vimrc, there are some options you can also set to make sure it’s using 256 colors:

      set background=dark
      " solarized options 
      let g:solarized_visibility = "high"
      let g:solarized_contrast = "high"
      colorscheme solarized
      


      And one of those should work, but #1 first.

    BUT, if you’re using the default, built in vim on Snow Leopard, it won’t work, as it’s not built with support for 256 colors. I believe the built in version in Lion does.

    Edit: Based on several comments on this answer, I’ve removed let g:solarized_termcolors = 256 line from the .vimrc example above. It appears that could be a problem for some. Another says that adding the line let g:solarized_termcolors = 16 fixed a color display problem. Your own mileage may vary.

    Second Edit: If you’ve loaded the solarized color palette into iTerm2, then you must let g:solarized_termcolors=16. Only let g:solarized_termcolors=256 if you are not using the solarized palette as your iTerm2 color preset.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a strange problem. I have to use GetPostBackEventRefence to force a Postback,
having a strange issue, must be something I'm just not seeing. I set up
I have a strange issue where i have a a HttpHandler having its ProcessRequest()
Having a strange issue with the TabContainer in the AJAX Toolkit. We have several
I'm having a strange issue here, i have this bit of code: <?php if
Having a strange issue in IE7. In a number of spots, I have a
I'm having this strange issue with my ItemsControl grouping. I have the following setup:
I am having a strange issue in my flex app. I have a Video
I am having a strange issue. I am trying to use jQuery autocomplete with
I am having a strange issue with the developer documentation (which i have only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.