Questions tagged [colorscheme]

A colorscheme is a Vim script which sets the colors to be used for the highlight groups.

Filter by
Sorted by
Tagged with
3
votes
1answer
694 views

No Solarized Light in GVim (GTK3)

I manually installed the Solarized colour scheme from the Vim-only repository and adjusted my ~/.vimrc as indicated in the documentation, including using set background=dark. GVim 7.4 (GTK3) under ...
0
votes
1answer
31 views

Can't set neovim colors to follow terminal colors in st terminal

I can't set neovim colors to follow terminal colors in st terminal. Here is screen from the terminal: I have tried different configurations of set t_Co=256 and set termguicolors but all of them give ...
1
vote
0answers
19 views

Why colorscheme is re-loaded if vimrc is located in $VIM?

I ran into a problem with cursor color being reset when using gruvbox color scheme on both Linux and Windows. During debugging I discovered that the color scheme is reloaded if vimrc is located in $...
1
vote
1answer
25 views

How to figure out which syntax rule is determining a character's color?

I want to design my own vim color scheme, so I'm starting with an existing color scheme that I think is pretty good, and fixing the parts I don't like. The color scheme definition contains many ...
4
votes
1answer
86 views

Vim highlighting random indentations

As seen from the image, Vim decides to highlight those indentations for no reason. I've tried :noh and :set nolist (:set list seems to make it go away, but I don't want indentation marks) from a ...
0
votes
3answers
58 views

How to completely hide the seperator between windows?

I managed to hide the background of the seperator between open windows by using: hi VertSplit term=NONE cterm=NONE gui=NONE guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE However the fillchars ...
1
vote
1answer
32 views

Namespace color scheme

Hi I'm a new vim user (1 week), I just switched my color scheme to monokai, however a point let me dissatisfied, c++ namespaces are not highlighted. I tried : hi namespace guifg=[my color] and hi ...
1
vote
2answers
77 views

How to force overwriting ALL syntax highlighting in Vim?

Recently, I have tried to create my own colorscheme in only one color and no text decoration. That means Normal, Comment, ToolbarLine, Tooltip... are the same; Visual, Cursor... are reversed, of ...
2
votes
1answer
112 views

How to stylize text between backticks ( ` ) to match text style between single/double quotes ( ' | " )?

In my vim, I'm using gruvbox. Syntax colorization is great for everything except text written between `backticks`. You'll note once backticks are used, all subsequent lines of text are green. I would ...
5
votes
3answers
5k views

Why does my colorscheme look different when I run vim with sudo?

I installed colorscheme "jellybeans" for vim. Why does the colors look differently when i run vim with and without sudo? Example on the screen below - the left one is without sudo, the right is with ...
6
votes
3answers
3k views

Why does .vimrc not set colorscheme properly?

So I have downloaded proton.vim (a colorscheme) and placed it inside my .vim/colors folder. In .vimrc, right at the bottom I have colorscheme proton but when Vim loads, it is set to the default ...
2
votes
1answer
38 views

Vim color black isn't black

I have the following text in my ~/.vimrc: syntax on colorscheme koehler highlight ErrorMsg ctermbg=Red ctermfg=Black however the error messages show like this: The error message is gray on red, not ...
1
vote
1answer
30 views

I'm using a colorscheme installed with vim-plug, how can I change the color of the line numbers?

I'm using this colorscheme, how can I change the color of the line numbers? I think that the colorscheme will overwrite anything I'll put in .vmrc.
1
vote
1answer
34 views

Why can't I install this colorscheme properly?

I'm trying to install this colorscheme. They instructed to use a package manager so I've used vim-plugged: Plug 'rakr/vim-one' While my colours on vim did change, it really does not look like the ...
1
vote
1answer
26 views

Vim different colorchemes for different file, but same backgroung color

I'd like to have a colorscheme but keeping my terminal color as a background color. This code achieved that colorscheme MyFavoriteOne autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE I'...
2
votes
1answer
48 views

ALE Error and warning highlighting gets disabled when termguicolors is enabled

I have the ALE extension installed, and would like it to highlight errors and warnings, however when :set termguicolors is enabled, the Here's a screenshot of the problem: set termguicolors ...
1
vote
1answer
41 views

How to change colors of Vim editor?

I tried to change colors of Vim editor by going to the screen properties and change the color of background and text. It did not work. I like to know how to change the colors. Thanks.
2
votes
1answer
435 views

Overriding highlighting style for one syntax

My colour scheme (morning) doesn't play nice with the quickfix window: I cannot read the selected item's location, because the foreground and background colours are the same. Because of this I want to ...
4
votes
2answers
2k views

non-default colorschemes can't be loaded; setting them manually after startup works

Currently, I use vim-plug for managing plugins and vim-colorschemes for my colorschemes - which doesn't work. Approach 1: in my init.vim: Plug 'flazz/vim-colorschemes' [...] syntax on colorscheme ...
2
votes
2answers
581 views

How to set a colorscheme that still shows spelling errors?

How to set a colorscheme that still shows spelling errors? I am looking for two combined effects that I can acquire separately but not yet together. Set Colorscheme alone: OK. If I want highlights ...
1
vote
0answers
41 views

Syntax highlighting shows a yellow bar on Windows 10

Good afternoon, I just started using the Ubuntu shell from Windows 10, and I copied my Mac .vimrc file. Everything seemed normal until these yellow bars started showing up at the end of some lines. ...
1
vote
2answers
482 views

How to set CursorLine highlight color for the gruvbox colorscheme

When I use the colorscheme gruvbox (installed with vim-plug), it overrides my configuration of the Cursorline highlight, eg set cursorline hi CursorLine cterm=NONE ctermbg=black with the same color ...
19
votes
6answers
4k views

Set cursor colour different when on a highlighted word

With the current colourscheme I have been using, it is hard to find where the cursor is positioned when navigating through search results. The highlighting colour and the cursor colour are blending in ...
2
votes
2answers
189 views

Getting an RGB color from highlight group

In putting together and addon for blender to integrate neovim. Where I'm at with it, github colo imported to blender text editor from nvim_gtk One component is grabbing the current colorscheme of a ...
5
votes
1answer
226 views

Disable bold character under cursor

This might be a newbie question but I can't seem to find an answer anywhere. I've created a custom colorscheme, but I don't know how to stop the character behind the cursor from becoming bold. This ...
1
vote
1answer
66 views

Colorscheme Errors (E185) with vimrc and sessions

I have a couple of things which suggest there's an issue with the way I use colorscheme with my vimrc file. Errors when running source ~/.vimrc The colorscheme used when opening a vim session ...
1
vote
1answer
103 views

Why do the color schemes in Vim use fewer colors?

I'm using both Neovim/Vim and VS Code. With both editors using the gruvbox theme, I noticed Neovim/Vim use fewer colors than VS Code when using the same theme. I have the same issue with the ...
16
votes
4answers
9k views

How can I create my own colorscheme?

What files do I need to create? What should be inside these files? Is there a default colorscheme file somewhere that I can use and change color values accordingly?
0
votes
1answer
25 views

Disabling syntax and maintaining colorscheme [flickering problem]

I have noticed that with set syntax=off option set, the gvim screen doesn't flicker when I scroll the page using <PageUp> and <PageDown>. What are the possible solutions, if some exist,...
2
votes
1answer
84 views

Where can I find color settings used by Vim and NeoVim?

I've been using dotfiles created by other people to setup Vim. Recently I decided to create my own config and investigate what's NeoVim about. I'm using default OSX Terminal.app with zsh shell (I've ...
0
votes
1answer
30 views

How to edit the highlighting of the function names in c++ syntax

I want to change the highlighting of the function names inside a c++ file, here is an example As you can see in the previous picture functions names have their own color, parser(), parse(), ...
0
votes
0answers
195 views

How to make vim theme looks exactly as on screenshot

I've tried dozens of different themes but always get wrong coloring. For example: This is how vim-afterglow should look with LaTeX code. This is mine screenshot: This is example for Python. And ...
1
vote
1answer
193 views

Terminal transparency automatically achieved on certain color schemes, but not others

I've been trying different colour schemes while manually setting a transparent background using hi Normal guibg=NONE ctermbg=NONE so my .vimrc file looks something like this set t_Co=256 colo ...
8
votes
4answers
1k views

SpecialKey foreground color w/ cursorline set

In this Q&A, it's observed that there is a highlight group for CursorLineNr, which applies to the line number for the cursor line when set cursorline is on. I notice that using cursorline also ...
0
votes
1answer
65 views

what does “\033]110\007\033]111\007” mean

I found this snippet online which is apparently a way to make vim a little faster if your terminal background is the same as what vim's is meant to be (right?) " General colors if has('gui_running') |...
1
vote
3answers
669 views

Vim Terminal - Solarized Colorscheme [Gnome]

I've tried syntax on let g:solarized_termcolors=256 set t_Co=256 set background=dark colorscheme solarized but it doesn't look like GVim, how can I achieve that? Right now
0
votes
1answer
131 views

Color name or number not recognized: ctermbg

I'm receiving the following error: Color name or number not recognized: ctermbg=g:extra_whitespace_color guibg=g:extra_whitespace_color Pointing to these lines: let g:extra_whitespace_color = '...
1
vote
1answer
349 views

How to set if else for vim's “set background = ” for light and dark colorschemes?

For themes like One or PaperColor, there are dark and light versions. For dark or light theme, I usually add my own customizations like bracket color, comment color... etc. I tried to combine them ...
1
vote
1answer
50 views

Retrieve color scheme colors to use for other plugin setting

I am trying to use a colorized parenthesis plugin. However, the colors don't match my current color scheme. The help page mentions ways to change the colors, but I don't know which magical words I ...
0
votes
1answer
79 views

How to change default's colorscheme colours

I use default colorscheme for Vim since I just love to have consistency throughout my terminal. One thing I don't love though is the colour of number lines, bright yellow doesn't suit it. Is there any ...
3
votes
0answers
378 views

Remove transparency in VIM when terminal is transparent? [closed]

I want to keep the terminal background somewhat transparent, but when I open vim vim filename.txt it opens it in terminal (as I want) but the background of the vim is somewhat transparent too. Can I ...
2
votes
1answer
65 views

vim html version of text document black on white

I'm trying to figure out a good workflow for printing source code and studying it. So far, the TOhtml function seems really useful for this purpose. I can create an html file with ease, open it in a ...
0
votes
1answer
59 views

How to change color of the splits counter in a 'tabline'

I can have multiple splits in a new tab. To change background and foreground of active and inactive tabpages, I can do the following: hi TabLineSel term=bold ctermfg=White ctermbg=DarkBlue hi TabLine ...
0
votes
2answers
689 views

Colorscheme not display correctly for vim on mac terminal

I start up vim from mac terminal like so: vim filename But my colorschemes do not load properly (I tried loading desert.vim, desert256.vim and solarized.vim). desert256.vim has a black background ...
0
votes
0answers
20 views

Ugly black thing when using :ls with colorscheme [duplicate]

I installed gruvbox color-scheme. Then I did :ls and saw this: After ".vimrc" there's some black stuff. It is kind of ugly and makes it harder to read. Is there any way to fix this?
2
votes
0answers
63 views

Using an iTerm color scheme inside a Vim :terminal window

My normal terminal color scheme is set via a color preset in iTerm. When I open a terminal window in Vim (:terminal) that color scheme doesn't get applied, presumably because Vim has no knowledge of ...
3
votes
2answers
2k views

Neovim Gray Background

Problem Anytime I switch to a colorscheme the background turns this ugly gray that gives everything a washed out look. Why does this happen, and how can I prevent it? Example screenshot— More ...
1
vote
1answer
516 views

Detecting whether colorscheme is available [duplicate]

How can I detect whether a color scheme installed via a vim-plug plug-in is available? For context, I'm trying to automate my Vim setup on a new machine, pulling the vimrc from a git repository. The ...
0
votes
1answer
71 views

vim looks different when i launch it via the terminal

I'm using NVIM 0.2.2. When I launch it from the terminal, the color scheme of the terminal affects it's look. And when I launch it from the search menu, it works just fine What makes it behaves that ...
13
votes
9answers
24k views

Colorscheme's background not correct in terminal

I imported the solarized colorscheme and palette. My terminal has the correct colors and background, gvim has the correct colors and background, but vim has an incorrectly colored background. The text ...