New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes don't work for me #26

Closed
tymm opened this Issue Jul 7, 2013 · 9 comments

Comments

Projects
None yet
5 participants
@tymm

tymm commented Jul 7, 2013

Somehow I get no colors.
I am using rxvt-unicode on Debian and the solarized color scheme is working fine (so it shouldn't be because I have no support for the colors).

vim

I tried all themes with let g:airline_theme='...'
None worked :(

@bling

This comment has been minimized.

Show comment
Hide comment
@bling

bling Jul 7, 2013

Member

do you get any colors if you don't define that variable? what exact values did you set? and also, what method did use for installation? thanks.

Member

bling commented Jul 7, 2013

do you get any colors if you don't define that variable? what exact values did you set? and also, what method did use for installation? thanks.

@tymm

This comment has been minimized.

Show comment
Hide comment
@tymm

tymm Jul 7, 2013

No, I also don't get colors if I don't define that variable.
I tried all: dark, light, simple, badwolf.
And I used pathogen as installation method.

tymm commented Jul 7, 2013

No, I also don't get colors if I don't define that variable.
I tried all: dark, light, simple, badwolf.
And I used pathogen as installation method.

@bling

This comment has been minimized.

Show comment
Hide comment
@bling

bling Jul 7, 2013

Member

what's your t_Co set to?

Member

bling commented Jul 7, 2013

what's your t_Co set to?

@tymm

This comment has been minimized.

Show comment
Hide comment
@tymm

tymm Jul 7, 2013

t_Co=8

tymm commented Jul 7, 2013

t_Co=8

@bling

This comment has been minimized.

Show comment
Hide comment
@bling

bling Jul 7, 2013

Member

can you try force setting it to set t_Co=256? vim should detect this value automatically, but only if you have your terminal set up properly. check this article for more details.

Member

bling commented Jul 7, 2013

can you try force setting it to set t_Co=256? vim should detect this value automatically, but only if you have your terminal set up properly. check this article for more details.

@tymm

This comment has been minimized.

Show comment
Hide comment
@tymm

tymm Jul 7, 2013

Thanks a lot. Its working now. I thought I already had support for 256 colors...

tymm commented Jul 7, 2013

Thanks a lot. Its working now. I thought I already had support for 256 colors...

@tymm tymm closed this Jul 7, 2013

bling added a commit that referenced this issue Jul 8, 2013

@sungwoncho

This comment has been minimized.

Show comment
Hide comment
@sungwoncho

sungwoncho May 29, 2015

I ran into the same issue using tmux. I was able to resolve it by setting set -g default-terminal 'screen-256color' in my tmux config.

sungwoncho commented May 29, 2015

I ran into the same issue using tmux. I was able to resolve it by setting set -g default-terminal 'screen-256color' in my tmux config.

@Honghe

This comment has been minimized.

Show comment
Hide comment
@Honghe

Honghe Feb 9, 2017

@bling Thanks. So what is the different between termguicolors and t_Co=256?

Honghe commented Feb 9, 2017

@bling Thanks. So what is the different between termguicolors and t_Co=256?

@chrisbra

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra Feb 9, 2017

Member

t_Co=256 tells Vim that your terminal is capable of using 256 colors (whether that is correct or not). termguicolors is a relative recent addition in Vim 8 and tells Vim that your terminal is capable of handling rgb colors (e.g. 16 Million colors, whether that is correct or not)

Member

chrisbra commented Feb 9, 2017

t_Co=256 tells Vim that your terminal is capable of using 256 colors (whether that is correct or not). termguicolors is a relative recent addition in Vim 8 and tells Vim that your terminal is capable of handling rgb colors (e.g. 16 Million colors, whether that is correct or not)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment