Skip to main content
Removed unnecessary words that made the question ungrammatical and confusing
Link

I'm really confused as to what What factors control the color scheme in a terminal?

edited tags
Link
Martin Tournoij
  • 64.3k
  • 27
  • 205
  • 280
Source Link

I'm really confused as to what factors control the color scheme in a terminal?

I am trying to use VIM through new "Windows Terminal" app on a Windows 10 operating system. The VIM app is installed inside a debian WSL app.

I can't wrap my head around how the entire color scheme and syntax highlighting works inside a terminal app. Here are my specific questions:

  1. Is the entire color scheme managed by the terminal app? There are profiles and a JSON file to define the color scheme inside Windows Terminal. Is that how the entire user experience regarding coloring is managed?
  2. Or is it managed by the SHELL. So now when I am inside the WSL the prompt has changed from the default Power Shell colorless prompt. Makes me wanna question is the color scheme now managed by .bashrc or .zshrc file?
  3. Then inside VIM, let's say I want to use a specific theme. Let's say Monokai. There are ways to control that too on the internet.

So I just can't wrap my head around how the entire grand color scheme works. What does your setup look like?