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
35
votes
2answers
45k 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 (...
10
votes
1answer
2k views

Why does the order of :set bg=dark and :set bg=light matter?

While trying to match up my terminal's colour palette and GVim's I noticed this: When I open GVim and Vim, I see: (That's the same file, my vimrc.) If I do :set t_Co=256, nothing happens in GVim (...
43
votes
5answers
34k 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. ...
20
votes
2answers
2k views

Is it possible to use two different color backgrounds in a single vim buffer?

I am looking for a possible solution for applying two different background colors inside a single vim buffer depending on context like in this sublime text example. One use case of that is to color ...
15
votes
5answers
14k 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 ...
4
votes
1answer
1k views

Visual Differences between vim on virtualbox Ubuntu guest (through putty) OR gVim on Windows host

Ok, it's a curiosity more than a real question, I apologize in advance for long post: Usually I code with vim on a ubuntu headless, as a virtualbox guest on my stupid windows 7 host; I access linux ...
3
votes
1answer
1k views

Using a custom color scheme and setting it as default

I'm just starting with VIM and I'm trying to install this custom color scheme: https://github.com/devnul1/heman I created a .vim directory on my home directory and inside .vim I created a directory ...
2
votes
1answer
424 views

Problem With ColorScheme

I am a vim user looking for help for a problem with my vim colorscheme. When I start everything looks fine and is usable until I start scrolling down. Once I scroll the background takes on the color ...
1
vote
1answer
1k views

Vim ignore terminal color schemes when setting colors

I don't want vim to be affected by my terminal's color scheme. Is there a way to do this? In particular, I want my LineNr column to be colored black. I have seen it is possible because airline ...
22
votes
2answers
10k 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 ...
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 ...
7
votes
2answers
8k views

How to completely turn off colorscheme?

Original post I've got a colorscheme configured in my .vimrc but sometimes I'd like to turn it off completely which means that I would like Vim to use the default background and foreground colors of ...
4
votes
1answer
2k views

Tmux messing with Vim highlighting [duplicate]

When I load up vim inside tmux there is a background color behind all text as so: If I load it up not in tmux I get the following: I want it to be like image 2, I can not understand why tmux is ...
2
votes
2answers
545 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 ...
2
votes
1answer
2k views

24-bit / 256 colorscheme in Windows console

I'm using 64-bit Vim 8.1.0428 on Windows 10 release 1803. The Windows 10 console now has 24-bit colours, and Vim 8 has been patched to handle 24-bit colours in the Windows console (i.e. using vim.exe ...
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 ...
4
votes
1answer
1k views

NeoVim: default colors don't match vim's

I'm running NeoVim "straight out of the box"; after running the following commands: mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config} ln -s ~/.vim $XDG_CONFIG_HOME/nvim ln -s ~/.vimrc $XDG_CONFIG_HOME/nvim/...
2
votes
1answer
181 views

What does Special Comment refer to in reference to a colorscheme?

I've recently delved into taking an existing colorscheme and customizing it to my liking. While doing this however, I found there was a highlight option for special comments and I'm not sure exactly ...
1
vote
1answer
1k views

How can Vim be configured to restore normal terminal color on exit?

I have set Vim's default colorscheme to Monokai, and when I exit Vim the Monokai colors are still on the screen until I clear it. How can Vim be set to run clear automatically on exit, or change the ...
1
vote
1answer
124 views

Light colorscheme issue causing black background when scrolling down using J

colorscheme leya set background=light whole .vimrc https://gist.github.com/francium/e29aa1600abd158fe08b34218e1f3bd6 Only happens when you scroll down using j Tried it with another light theme, ...
1
vote
1answer
1k views

solarized in xterm256(terminal.app) has wrong background

I using solarized in both terminal.app and vim, but in vim the background, airline and other things are not the color scheme's appearance which is different with MacVim. So how to deal with it? I ...
0
votes
1answer
609 views

Changing the vim color scheme only highlights lines of text?

I'm a big noob to vim here. I was trying to change the colorscheme of vim by editing the .vimrc file, but as I was playing around with different color schemes (ayu and gruvbox, for example) I noticed ...