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
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
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
46 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 ...
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 ...
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
31 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
32 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
162 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
39 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
28 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
35 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/ └── ...
0
votes
2answers
89 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
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 ...
2
votes
2answers
116 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 ...
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 ...
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 ...
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 ...
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
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 &...
0
votes
1answer
27 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
319 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
127 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
35 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
41 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
101 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 ...
4
votes
1answer
66 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
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 * \ ...
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 ...
0
votes
0answers
124 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...) ...
0
votes
0answers
129 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
34 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 ...
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 ...
2
votes
0answers
70 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
1answer
292 views

ctermbg and ctermfg are backwards or incorrect for certain highlighting groups

I am currently attempting to create a custom colorscheme for vim by using ctermfg and ctermbg values, and checking what the colorscheme looks like with the highlight test file provided by Vim. What I ...
1
vote
1answer
92 views

How to turn on airline theme's background in vim?

I just started using vim and I installed tpope/vim-pathogen and then vim-airline/vim-airline-themes plugin to use these themes. Then I changed my .vimrc to set up the papercolor theme, powerline fonts ...
2
votes
1answer
117 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 $...
2
votes
1answer
32 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 ...
0
votes
3answers
190 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 ...
4
votes
1answer
189 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
1answer
91 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 a screenshot from the terminal: I have tried different configurations of set t_Co=256 and set termguicolors but all of them ...
1
vote
1answer
70 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 ...
2
votes
2answers
293 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
182 views

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

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
1k 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 ...
2
votes
1answer
76 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
53 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
130 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
117 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.

1
2 3 4 5