Vim colors not working properly in terminal


Assis

I'm using gnome-terminal and I'm using vim with a solarized color theme. When I open vim in terminal, it's illegible.

open vim in terminal

However, when I open the file in gvim, the color scheme works fine.

Gwim

The Gnome Terminal's color scheme has also been tanned. One thing to note is that if I set an illegal value for the background, I get the expected background color (but with an error too).

Bath

To complement Akira's suggestion, vim in terminology mode uses the terminal palette. From the vim solarized colorscheme repo:

If you want to use Solarized in terminal mode (i.e. not in GUI versions such as gvim or macvim), consider setting your terminal emulator's color scheme to use the Solarized palette. I have included palettes for some popular terminal emulators along with Xdefaults in the official Solarized downloads from the Solarized homepage .

For gnome-term, there are instructions for setting the color palette .

Related


Vim colors not working properly in terminal

Assis I'm using gnome-terminal and I'm using vim with a solarized color theme. When I open vim in terminal, it's illegible. However, when I open the file in gvim, the color scheme works fine. The Gnome Terminal's color scheme has also been tanned. One thing to

Gnome terminal not working properly with screen-256colors

Christophe De Troyer Today, I noticed that I don't have 256 color support in Weechat. I think this will be a quick fix. no. The first thing I googled was how to test color support in the terminal. I have installed colorteston my local machine and when run it d

Gnome terminal not working properly with screen-256colors

Christophe De Troyer Today, I noticed that I don't have 256 color support in Weechat. I think this will be a quick fix. no. The first thing I googled was how to test color support in the terminal. I have installed colorteston my local machine and when run it d

Terminal autocomplete not working properly

Lavesina If I start typing the command apt-gafter the hit tab, the shell completes the command to apt-get, but for the second part like the command install, if I enter a character such as a instahit tab, it doesn't complete it install. Another example: After t

Terminal autocomplete not working properly

Lavesina If I start typing the command apt-gafter the hit tab, the shell completes the command to apt-get, but for the second part like the command install, if I enter a character such as a instahit tab, it doesn't complete it install. Another example: After t

Terminal autocomplete not working properly

Lavesina If I start typing the command apt-gafter the hit tab, the shell completes the command to apt-get, but for the second part like the command install, if I enter a character such as a instahit tab, it doesn't complete it install. Another example: After t

Linux Mint terminal colors not working

Haferi I'm trying to get xterm-256color to work without success. I've installed LMDE 2 Betsy (Linux Mint Debian Edition) and I'm trying to learn to use vim. I have vim colorscheme installed, but the colors are not correct. Looking online, I need to use xterm-2

Linux Mint terminal colors not working

Haferi I'm trying to get xterm-256color to work without success. I've installed LMDE 2 Betsy (Linux Mint Debian Edition) and I'm trying to learn to use vim. I have vim colorscheme installed, but the colors are not correct. Looking online, I need to use xterm-2

Linux Mint terminal colors not working

Haferi I'm trying to get xterm-256color to work without success. I've installed LMDE 2 Betsy (Linux Mint Debian Edition) and I'm trying to learn to use vim. I have vim colorscheme installed, but the colors are not correct. Looking online, I need to use xterm-2

drawRect() not working properly on some colors

Lukas Rotter I always create rectangles (using Graphics( 2D)) with outlines like this: g.setColor(aColor); g.fillRect(x, y, width, height); g.setColor(anotherColor); g.drawRect(x, y, width, height); This method works well except for some colors like Color.BLU

drawRect() not working properly on some colors

Lukas Rotter I always create rectangles (using Graphics( 2D)) with outlines like this: g.setColor(aColor); g.fillRect(x, y, width, height); g.setColor(anotherColor); g.drawRect(x, y, width, height); This method works well except for some colors like Color.BLU

Colors in Matplotlib/Seaborn not working properly

Mike Clark I'm currently using Jupyter Notebook with Python 3.6. My Matplotlib version is 2.1.0 and Seaborn is 0.8. I'm trying to create a simple histogram, but the colors I choose are not showing up correctly. I have tried names and hex codes but they still d

Hex colors not working properly in javascript

Encoder I am making a color converter to change the background color and color name when a button is clicked. When I use the regular array of color names arr = ["red" , "yellow", "blue" , "green" , "pink" , "lightBLue"] it works but when i use hex color let a

drawRect() not working properly on some colors

Lukas Rotter I always create rectangles (using Graphics( 2D)) with outlines like this: g.setColor(aColor); g.fillRect(x, y, width, height); g.setColor(anotherColor); g.drawRect(x, y, width, height); This method works well except for some colors like Color.BLU

Colors in Matplotlib/Seaborn not working properly

Mike Clark I'm currently using Jupyter Notebook with Python 3.6. My Matplotlib version is 2.1.0 and Seaborn is 0.8. I'm trying to create a simple histogram, but the colors I choose are not showing up correctly. I have tried names and hex codes but they still d

In vim, terminal and iterm have different syntax colors

Yura I am new to vim setting T__T. On the left is the terminal display. On the right is the iterm2 display. How to change color in terminal like in iterm2 Thanks in advance. Paul Pei Some vim color schemes (including defaults) will use the terminal's palette a

Make Vim use terminal colors again

justice I use Xfce4 and its terminal seems to have been upgraded and now supports 256 colors or true color (I'm not sure). These seem to be the relevant variables it exports: COLORTERM=truecolor TERM=xterm-256color One of the unexpected changes it caused was

In vim, terminal and iterm have different syntax colors

Yura I am new to vim setting T__T. On the left is the terminal display. On the right is the iterm2 display. How to change color in terminal like in iterm2 Thanks in advance. Paul Pei Some vim color schemes (including defaults) will use the terminal's palette a

vim settings not working properly in zsh

Tau Sid I just switched my shell from bash to zsh and I noticed it zshwasn't using the same version of vim used in bash. Wondering why this is happening? Do I need to set some configuration? edit delete other things Ingo Karkat you have defined an alias for on

vim settings not working properly in zsh

Tau Sid I just switched my shell from bash to zsh and I noticed it zshwasn't using the same version of vim used in bash. Wondering why this is happening? Do I need to set some configuration? edit delete other things Ingo Karkat you have defined an alias for on

Vim plugin Limelight not working with vim in gnome terminal

drifter all. I am using gnome-terminal 3.26.1 and vim 8.0.1176. Installing Limelight works, but when I want to start it, I get an error in gnome terminal Unsupported terminal. Sorry Limelight works on terminals that support 256 colors. As far as I know, gnome-

Vim plugin Limelight not working with vim in gnome terminal

drifter all. I am using gnome-terminal 3.26.1 and vim 8.0.1176. Installing Limelight works, but when I want to start it, I get an error in gnome terminal Unsupported terminal. Sorry Limelight works on terminals that support 256 colors. As far as I know, gnome-

Different colors displayed in Vim via gnome terminal than gVim

username Why are the colors different when using the color scheme 'blackboard' through Vim in gnome-terminal and when using the same theme in gVim? That is, the background is black while on gVim it's blue, the function names are not displayed correctly, etc. O

How does vim colorscheme work with gnome terminal profile colors?

orange I'm confused about how vim's color scheme seems to work with my gnome terminal color settings. I have installed the colorscheme sampler pack : http://www.vi-improved.org/color_sampler_pack/ All of these are not the same for me and change as I change the

Different colors displayed in Vim via gnome terminal than gVim

username Why are the colors different when using the color scheme 'blackboard' through Vim in gnome-terminal and when using the same theme in gVim? That is, the background is black while on gVim it's blue, the function names are not displayed correctly, etc. O

How does vim colorscheme work with gnome terminal profile colors?

orange I'm confused about how vim's color scheme seems to work with my gnome terminal color settings. I have installed the colorscheme sampler pack : http://www.vi-improved.org/color_sampler_pack/ All of these are not the same for me and change as I change the

Python script not working properly from terminal

Andrew I have some simple .py files that work fine in my IDE (IDLE), but when I execute from the terminal it becomes weird. I have a folder with a dozen .py scripts. I change directory, then execute python3 script.pyfrom terminal , but it runs a completely dif

Python script not working properly from terminal

Andrew I have some simple .py files that work fine in my IDE (IDLE), but when I execute from the terminal it becomes weird. I have a folder with a dozen .py scripts. I change directory, then execute python3 script.pyfrom terminal , but it runs a completely dif