OSX – ITERM VIM Colorscheme does not work

When I run vim from the command line in iTerm, syntax highlighting does not seem to work locally.

In vim for example, I installed a nice colorscheme, which works quite well in MacVim, but it will be great if it shows the same in iTerm.

Any ideas how I can open this?

This is the color scheme I want to use
http://www.vim.org/scripts/script.php?script_id=2340

The color scheme looks like it only supports 256-color terminals. If Vim thinks that your terminal only supports 8 colors, you won’t see that specific color scheme.

You can check in Vim in the following ways:

:echo &t_Co

If it returns 8, this is possible Is the problem. Try setting it to 256 in your ~/.vimrc and see if this helps:

let &t_Co=256

let &t_Co=256

When I run vim from the command line in iTerm, the syntax highlighting does not seem to work locally.

In vim for example, I installed a nice colorscheme, which works quite well in MacVim, but it will be great if it shows the same in iTerm.

Any ideas how I can open this?

This is the color scheme I want to use
http://www.vim.org/scripts/script.php?script_id=2340

The color scheme looks like it only supports 256-color terminals. If Vim thinks that your terminal only supports 8 colors, you won’t see that specific color scheme.

You can check in Vim in the following ways:

:echo &t_Co

If it returns 8, this is possible Is the problem. Try setting it to 256 in your ~/.vimrc and see if this helps:

let &t_Co=256

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5186 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.