What's the deal with Deno? We talk with a major contributor to find out. Listen now.

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
2
votes
1answer
22 views

Embark colorscheme not working properly

I have installed embark using vim-plug. I have put it inside my vimrc. But everytime I open vim, it shows this error Error detected while processing /home/pial/.vim/vimrc: line 9: E185: Cannot find ...
2
votes
1answer
50 views

Suddenly running :colorscheme breaks lightline

Suddenly, after a Vim update, I guess, when I run :colo some_color_scheme, the coloring of my lightline status bar is black and white, as you can see in the following screencast: Since I version my ...
1
vote
1answer
44 views

Color themes listed as available in Vim not changing upon :colo [themename] command

I am trying to install themes using V8+ Vim (8.2) on a Windows 10 OS. I first tried following the standard instructions listed on the Dracula theme site here. Unfortunately, the naming conventions for ...
2
votes
1answer
35 views

Are opening and closing double quotes expected to be of different color in a bash script?

I've just noticed, after years using Vim, that the two double quote characters opening and closing a string in a bash script have different colors, which I can verify by simply writing var="var&...
1
vote
1answer
55 views

:terminal colorscheme inside Vim is different from either Vim or Host Terminal

I have a gruvbox theme applied to Vim inside my vimrc. The problem is that when I run the :terminal command inside Vim the colorscheme is different from either the Vim theme or the terminal emulator's ...
4
votes
2answers
3k 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
0answers
64 views

Wrong background color

I installed the iceberg colorscheme in Vim. It doesn't show the correct background color when running vim on urxvt terminals. I tried with different terminals. Here is a result of what I got. Top left ...
1
vote
1answer
53 views

Changing colour of pop-up coc.nvim lint warning in custom colourscheme

I'm using the colorscheme monokai and coc.nvim with pylint to lint Python code in Vim (terminal, not GUI, in terminal.app on macOS which I'm pretty sure has 256 colours). The linting pops up on a ...
0
votes
2answers
94 views

vim colorscheme color as variable

I have a vim colorscheme vim-coogle, which uses both hex value and named colors already defined in vim, like: hi Comment guifg=#FFF59D ctermfg=lightgrey Now, the problem is, I want do define my own ...
1
vote
1answer
17 views

Vim watch file for changes

Is there a way I can have vim watch something like /tmp/my-vim for changes whenever vim is opened to edit any other file and then run a function when the change occurs? I am looking for a way to tie ...
1
vote
0answers
32 views

syntax highlight group for command line on normal mode?

I'm trying to write my own color scheme. I use :so $VIMRUNTIME/syntax/hitest.vim to identify vim's syntax names. Mostly this is working great, but I can't find the identifier for the command line in ...
0
votes
0answers
33 views

termguicolors vs :terminal: incorrect colors being displayed

I'm having trouble with the colors of the the terminal windown opened by :terminal. I use a theme called PolarIce from themer.dev. This work perfectly on KiTTY, Gnome Terminal and pretty much any ...
0
votes
0answers
13 views

Syntax profile close to dosini but with extra highlighting between quotes

Unfortunately I've to work with a custom and weird file format every day. To make my life in Vim easier, I've tried several syntax settings and 'dosini' comes very close. However, the text in between ...
2
votes
2answers
174 views

Why does peachpuff colorscheme looks completely different in terminal and GUI (MacVim)?

I've installed MacVim using Brew: brew cask install neovim I'm using the macOS's Terminal.app to run MacVim in Terminal mode. I've experimented with :colorscheme peachpuff, since many recommends that ...
0
votes
0answers
47 views

Nvim black border issue

I am using nvim and color theme grubox and also I add the settings of my color theme. at my vim editor has some black border at around left, right, top and bottom. Anyone can help me to remove this ...
0
votes
1answer
30 views

How to change this particular “deep blue” color that displays?

I'd like to change the color of a certain character set displayed in my terminal. I'm not sure if it's related to the terminal itself (xfce terminal) or to the colorscheme (distilled.vim) so I'm not ...
1
vote
0answers
18 views

welcome message hidden by “exe” in timer function

My vimrc holds a script to change the color of the CursorLineNr conditionally based on the mode. My problem is that it hides vim's welcome message when it's launched without a file. I would like to ...
1
vote
0answers
37 views

vim cant source rgb.txt

I am trying to source rgb.txt or hex.txt, so that I can use color by name instead of hex value in my color scheme. In my ~/.vim/plugged/vim-coogle/colors, I have tree vim-coogle/ vim-coogle/ └── ...
3
votes
4answers
960 views

Change color of Vim error message when .swp file exists

This is a really minor thing but it keeps bugging me. Whenever I try to open foo.txt if a .foo.txt.swp file exists, the error message that shows up displays in a color that painfully clashes with my ...
0
votes
1answer
32 views

Possible to toggle between two different colorschemes in vim

I have noticed that some files look better than others with different colorschemes. Is there a way to toggle between two different colorschemes, for example: colorscheme TextMate "OceanicNext :nmap &...
52
votes
6answers
45k views

How to add indentation guides/lines

In Sublime Text 2, you get vertical guides where your indentation is, like this: but in vim I obviously don't: Is there a way to show lines like that in vim? By the way, my indentation is 2 spaces. ...
2
votes
2answers
121 views

How to change background color for markdowns fenced code blocks?

I can do this for markdown's tab-based code blocks with mkdCode color group. So my question is if it's possible to do the same for fenced once? I use plasticboy/vim-markdown plugin. Here's a minimal ...
3
votes
1answer
31 views

Can't see tag “<>” braces due to highlight color same as braces in Windows terminal

I'm new to Vim and am having an issue with highlight color of matching braces in Vim. if I type: <html> and my cursor is at the one of the <> greater/less-than brace then I can't see the ...
2
votes
0answers
46 views

how to have two different colour schemes for command mode and edit mode in vim?

I have been using vim for some time now but I am always unsure of which mode I am currently in and hence end up pressing Esc too often even in the command mode. This causes an irritating computer ...
1
vote
2answers
32 views

Defining a color to be the same color of comments

I'm using the indentLine plugin to display line indents with a continuos vertical line, and I'd like to set the color of that line to the same color of my comments. To get the foreground color of my ...
0
votes
0answers
24 views

script colors to solarized

using macOS, I've colored the Terminal app by importing the Solarized theme but the scripts I write inside the terminal are not displayed in the Solarized theme. :colorscheme="default" While ...
5
votes
2answers
926 views

How to setup in `~/.vimrc` a mapping for `colorscheme` to toggle `solarized` between `dark` and `light`?

Both background and colorscheme in ~/.vimrc are badly misbehaving! I have setup solarized to work on vim and it can manually toggle between background light/dark. My general settings in ~/.vimrc are: ...
0
votes
1answer
28 views

Set color of Comment only using .vimrc

I am using some preset colorthemes, but it seems that the types Identifier and Comment always use the same color -- which makes my .asm files basically just one color. I tried to change the color of ...
2
votes
2answers
327 views

How can I change the colorscheme of the vim terminal buffer?

I use GVim with the gruvbox colorscheme. When I open a terminal inside vim with :term, the colors are different, it looks like another colorscheme is applied. The other terminals I use (urxvt and ...
1
vote
2answers
131 views

Is it possible to match vim and gvim colorschemes?

This was a nice little article that somewhat demystified vim colors to me. I downloaded and installed the Base2Tone vim colorschemes, and set the following in my ~/.vimrc: colorscheme ...
2
votes
0answers
37 views

Is there a way to get improved MySQL syntax highlighting over what vim offers out of the box?

Having spent a bit of time sorting out my colorscheme for my php files, I'd now like to "prettify" my sql. (I blame lockdown). My sql is spread liberally through my php files, but I've noticed the ...
1
vote
1answer
47 views

How to change the background colour of jedi-vim sugestion box in the jellybeans theme?

I am trying the jellybeans theme. colorscheme jellybeans The issue is that the jedi vim auto completion tips for functions appear with white text on white background: Here is how they appear when ...
3
votes
1answer
103 views

How to use 16 color colorscheme in tty?

I'm trying to use 16 color colorscheme in vim8.2 1-677 in my ubuntu18.04 /dev/tty3(ctrl-alt-f3). This is what I have done so far: Change tty color in my bashrc: if [[ "$TERM" = linux ]]; then ...
2
votes
1answer
44 views

How can I change the syntax highlighting for currently highlighted search item?

When I search for something with / I get a series of finds, and as I press n for next, it highlights the next one. I always think I'm on the wrong one. Maybe my eyes see green and red, and they think ...
30
votes
3answers
16k views

How do I customize vimdiff colors?

I am trying to use vimdiff as my git merge tool, but the colors used are making it unbearable (at least on Windows/Mingw): the background color and the foreground color is the same for some of the ...
4
votes
1answer
69 views

How to customize colorschemes without editing their source files?

Similarly to plug-ins, color schemes are commonly distributed as clone-able Git repositories, which make it less desirable to directly edit their source files (as sometimes suggested) when wanting to ...
1
vote
2answers
1k views

How to set CursorLine highlight color for the gruvbox colorscheme [duplicate]

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 ...
17
votes
5answers
19k views

List valid color schemes?

I just found out about the :colorscheme command. Is there a way that I can get a list of valid color schemes from Vim? I'd like to be able to do this from within Vim, not from a list somewhere on the ...
1
vote
1answer
63 views

Can I apply individual colours from one highlight in another one?

I have an auto command that changes some color scheme values so I can avoid forking them when all I need is small changes: augroup FixColorSchemes autocmd! autocmd ColorScheme * \ ...
0
votes
0answers
130 views

Same colors everywhere : terminal, tty, tmux

My goal I'm using Neovim under Linux (Arch Linux), but I think it would be just the same with original vim. I'd like to be able to use nvim with the same colors in a virtual console (tty1, tty2...) ...
2
votes
0answers
73 views

Using Nvim-Qt colors with regular Vim

I have been using nvim-qt and I like it. However I want to switch to regular nvim, but like other users I have had trouble with it. So then I thought maybe I will just use plain vim. The issue is ...
3
votes
2answers
7k views

How to save color scheme in gVim between sessions?

I want to select a color scheme in gVim such that it's used always (i. e. if I select color scheme X, close gVim, and start it again, it should start with X as the color scheme, not the default one). ...
18
votes
4answers
13k 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?
43
votes
3answers
64k views

What does :set background=dark do?

I didn't put color xxx in my .vimrc. So I see this when I first open my .vimrc. :color gives me default here. Then I type :color darcula. And it changes to this. :color gives me darcula here (...
0
votes
0answers
136 views

vim 8: C++ syntax highlighting has some minor fault

I'm using vim 8 to code C++11. I've installed the vim plugins: YCM, ALE, vim-code-dark and vim-cpp-enhanced-highlight, however, it seems that there is some error on syntax highlighting. As you see, ...
2
votes
0answers
35 views

Weird highlighting when navigating vimrc

So I recently downloaded Jellybeans.vim, and it was working fine until today when I opened .vimrc and to add something to the bottom of the file I pressed G , this happened: Then I pressed gg to go ...
3
votes
2answers
2k views

Change color of signs in SignColumn/Gutter

I have set my sign column background using hi SignColumn ctermbg=236 in my colorscheme file. However, it seems that the background colors for where there are signs has not been changed, and is the ...
2
votes
0answers
82 views

get cterm color value

Currently all my colors are defined through Xresources and being set in vim through ctermfg=2 for example. Lately there have been many improvements that rely on termguicolors being enabled (pumblend ...
7
votes
1answer
11k views

Make vim show all the colors

I have a problem with making vim show a colorscheme fully (like in gvim). I've read about how to enable 256 color mode in terminal and it vim, but somehow it just doesn't work. The state of now is: :...
3
votes
2answers
600 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 ...

1
2 3 4 5