Skip to content
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

Define vim color scheme related to the windows terminal theme #7535

Closed
pumpingiron opened this issue Sep 4, 2020 · 4 comments
Closed

Define vim color scheme related to the windows terminal theme #7535

pumpingiron opened this issue Sep 4, 2020 · 4 comments
Labels
Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@pumpingiron
Copy link

Hello,

I'd like to be able to apply the good vim's color scheme in accordance with the windows terminal theme defined.
In putty or Iterm, I use a variable defined when loading the profile whether it is a dark or bright theme that I can reuse later according to what I wanna do.

So, Is there an already integrated solution or has anyone ever tried to do that ?

Thanks in advance.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Sep 4, 2020
@DHowett
Copy link
Member

DHowett commented Sep 9, 2020

What variable is that? If there is prior art for exposing the terminal's color scheme to connected applications, we could consider following it.

@DHowett DHowett added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Sep 9, 2020
@pumpingiron
Copy link
Author

I don't understand.

I just wanna apply the correct color scheme in my vim editor related to my terminal color scheme.

For example, If I launch my terminal in a bright mode, i wanna get my vim editor in a bright mode too, so how can i get the terminal color scheme information in order to be able to detect it in my vimrc file and apply it when it's needed, and the same in reverse for a dark display ?

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Sep 10, 2020
@skyline75489
Copy link
Collaborator

#3718 could be a solution. Unfortunately WT has not yet support it.

@pumpingiron
Copy link
Author

Sorry, I had forgotten this issue.

I've found the solution in the meantime, you juste have to get WT_PROFILE_ID variable's content which corresponds to your loaded profile's id with colorization etc ...
Then from there, if your .bashrc configuration is well designed, you can autodetect all other colorization's parameters like in vim for example.

I'm gonna close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants