Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [colorscheme]

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

1
vote
2answers
23 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 ...
0
votes
1answer
64 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 ...
1
vote
0answers
32 views

NeoVim: colorscheme won't work in init.vim; requires command to be typed

I'm new to NeoVim and just getting started. My init.vim file under NeoVim\share\nvim\runtime\plugin\init.vim successfully sets everything except for the colorscheme and background. As seen in the ...
0
votes
1answer
21 views

Does `hi link XXX Normal` provide any benefits?

Does hi link XXX Normal provide any benefits? For example the syntax file included by default syntax/vim.vim includes the line: hi def link vimUserFunc Normal This often conflicts with CursorLine ...
1
vote
0answers
33 views

Overwrite Vim theme color scheme

How can I change the color scheme of an installed Theme? I currently have gruvbox installed and I would like to change the color of node.js keyword 'import' from aqua to orange. To no avail, I have ...
3
votes
1answer
36 views

Different color for comments with one # and two ## in python

I would like to know if there is some way to color different comments in python inside VIM. Today I use wombat256mod and I would like to color in red comments that start with double ## and color with ...
1
vote
2answers
39 views

Installed and set colorscheme but method puts and print not working on ruby

Yesterday, I Installed vim and some colorscheme like gruvbox, monokai, molokai. I set it in ~/.vimrc and turned on the syntax highlight, everything work well on HTML but in ruby files (.rb) it still ...
0
votes
0answers
44 views

how to write a self-contained color scheme

I'm making a simple colorscheme based on one I found on the vim website. https://www.vim.org/scripts/script.php?script_id=854 I'd like it to be declarative in the sense that the colorscheme is ...
1
vote
0answers
16 views

Coloring Piece of Tabbar

I am using neovim with the gruvbox colorscheme. On its github page, you can see the buffers word on the top right is colored in orange: On my installation, it grey/brown: How can I find out what ...
1
vote
1answer
70 views

How do I enable the gruvbox airline after installing gruvbox with Vundle?

If I understood it correctly gruvbox has it's own airline and you don't need vim-airline installed. I followed the easy install with Vundle but for some reason the airline just doesn't load. I'm using ...
0
votes
1answer
64 views

How to change Operator highlight color in Vim?

I just switched to iTerm2 on macOS and found some of its options go to Vim as well. That's the case for fonts, I was able to select a Vim font that I like from iTerm options. It seems iTerm color ...
0
votes
1answer
78 views

How can I enable the 256 colors on Vim?

I run Neovim on tmux on iTerm2, but now I'm struggling to change the color of my Python code. I use python-mode library to change the syntax of the Python code. However, many colors I try to set got ...
1
vote
1answer
35 views

How to get 50 char long warning color highlight in vim gitcommit message without fugitive

I'm using vim-fugitive. However, I'm using a black and white colorscheme. So, I don't see any warning for the 50 char long subject line of git commit message. I want to know how I can add a highlight ...
2
votes
0answers
36 views

Highlight arbitrary rectangular regions

Is it possible to highlight specific and arbitrary rectangles in a buffer? I want to implement a code scope highlight that groups code into a hierarchy of boxes. here is my mockup that I made: ...
3
votes
1answer
250 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 ...
0
votes
0answers
85 views

vim: specify path to load color scheme from

I have multiple servers, and a network share. Every server should share the same vim config. So i put my .vimrc file on the share and load it via the -u option. However vim cannot find the color ...
0
votes
1answer
179 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
2
votes
1answer
99 views

How to add a new colorscheme syntax keyword

I'm trying to create a new custom colorscheme and syntax highlighting. I have copied some examples into ~/.vim/colors/ and ~/.vim/syntax with new names inside for the scheme. All the basics work ...
2
votes
1answer
447 views

Highlight whole todo comment line

I'm still learning Vim and making small customizing on it. I'm struggling a bit to create a custom style/syntax highlight which would highlight the whole todo line. So in the picture instead of having ...
0
votes
0answers
52 views

Powerline buffers bar breaks when I switch color schemes

I am using iTerm2's default 'Light Background' terminal profile. I am using the latest version of vim-airline for my powerline bar and whatnot. When I use the :color command, even to "switch" to the ...
2
votes
2answers
528 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 ...
0
votes
1answer
133 views

Strange Highlighting during Git Commit

What can I do to have proper highlighting on a .git file? I chose Vim as my default editor when I commit files, the color scheme(Gruvbox) is applied, but I get strange colors as I start typing. I ...
0
votes
0answers
56 views

vim doesn't read ~/.vim/colors

I'd like to test some colorschemes. I've my .vimrc in ~ and some colorscheme.vim in ~/.vim/colors, but vim doesn't read this last directory. How can I make vim read it? thanx
0
votes
1answer
461 views

why is the material theme looking all weird on my vim

so this is a case where the toy doesn't look like what's advertised on the box. I tried to install the material-theme on my vim, which should be a standard exercise. However this is what it looks like ...
0
votes
0answers
19 views

How can I show colorful characters by tagging as I do using termcolor.colored in python?

I can print the colorful outputs in terminal using this: from termcolor import colored print(colored("this is blue", "blue") + " and " + colored("this is red and underlined.", "red", atts=['...
0
votes
1answer
145 views

How to edit all vim highlight groups?

I am going through the unfortunate process of making keybinds to change colorschemes, but different plugins have their own highlight groups which is making this difficult. Is there a way to set the ...
2
votes
0answers
57 views

Color questions for macOS

I just got a mac and have been trying to setup Vim 8 on the built-in terminal. I am mostly having some difficulties with colors. 1) After set number, how do I change the line number colors? I tried ...
0
votes
1answer
643 views

Vim in terminal is black-&-white but vim launched from dash shows colors

I am using Vim 7 on Ubuntu 16.04 (gnome) and the terminal emulator I am using is terminator. I really like the aristocrat/brogrammer colorscheme for Python and so I copy-pasted it in ~/.vim/colors/...
1
vote
0answers
157 views

How to extend the background color to the whole screen in a shell command's output?

I used to have a similar problem with the main screen (IIRC), like here: and I solved it by setting set set t_ut=, as was suggested in this question's accepted answer. But now I spotted another ...
0
votes
1answer
217 views

how to get the color theme right with vi on java

I'm currently using zenburn on android studio (java) and it looks very colorful (note: I'm using iTerm2.. not sure if that changes anything) but if I add zenburn color to my vimrc, the same file ...
0
votes
0answers
94 views

Installed Vim color scheme does not appear in list

I am a very new user to Vim and have started experimenting with customizing features. First on the list is color schemes. I have pulled up a number of tutorials and they all seem to depict a similar ...
1
vote
1answer
154 views

Vim colorscheme similar to Github

I want to change my colorscheme to the one used by Github for Ruby. I searched for one hour with out any luck. Is the color scheme used by Github open source ? or should I write my own colorscheme ...
1
vote
1answer
1k 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: :...
1
vote
1answer
246 views

How to set colorscheme of vimdiff using .vimrc

I want to set colorscheme during vimdiff at startup. Note this colorscheme would be different than Vim's colorscheme.
0
votes
1answer
273 views

How can I temporarily change to default color scheme?

I use gnome-termial most of the time, and the Nord colorscheme works well withat hat. I sometimes also use Tilda (another terminal emulator), and the Nord colorscheme doesn't work well with that! I'...
0
votes
1answer
118 views

prevent color scheme from bleeding into terminal

I use a modified version of industry where my normal text color is bright white instead of grey. Here is the offending line highlight Normal ctermfg=white ctermbg=Black guifg=#dddddd guibg=Black I ...
1
vote
2answers
135 views

Why is Vim executing a colorscheme file a second time if editing a Perl file?

I am using Vim 7.4 through a remote PuTTY session. I set my "dracula" colorscheme in my vimrc, and then immediately after that, I remove the background setting for normal text. For Normal text, I ...
4
votes
2answers
753 views

Why does my colorscheme not look like it should?

For some reason when I change my colorscheme it doesn't seem to change all the syntax elements, or changes them to a completely different color than they should be. I know the problem isn't about the ...
0
votes
1answer
520 views

E488: Trailing Characters error after attempting to install vim-hybrid

So I'm trying to use Vim-Hybrid as my native Vim theme but I've been running into a couple issues with it. Everytime I run the vim command now, I've been receiving the following error message: E488: ...
2
votes
1answer
203 views

Automatically disable cursorline when in diff mode?

I typically use set cursorline by default and it works reasonably well with my preferred color schemes (molokai, vividchalk, moonfly). In normal mode. In diff mode, it almost always screws things up. ...
2
votes
1answer
268 views

Corresponding colors from iTerm (terminal) to Vim

I finally took the step and started to create a colorscheme for myself. I'm using iTerm . Here is my iTerm-color-page: In Vim, there are both darkblue, blue and lightblue. But in iTerm, I can only ...
1
vote
2answers
678 views

Changing colorscheme does not change text color?

I am new to vim and am trying to set a colorscheme. However, for both pre-installed and new colorschemes, the only thing that happens when I change the colorscheme is the background color changes. For ...
0
votes
0answers
42 views

Vim won't use default colorscheme

I was using the default vim colorscheme, and one day when I turned on my computer, suddenly everything was a really weird theme with a red background and yellow/white text (I'm not even sure if this ...
0
votes
1answer
176 views

different colour schemas depends how file is opened [closed]

this is my first steps in vim and I've started this from a config generated by vim-bootstrap service for neovim and c++ specific development. so I'm currently studying enabled plugins. could ...
18
votes
2answers
15k 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 (...
3
votes
2answers
134 views

Automatically change interface colors for normal(visual) vs input mode

I have found a related question here: Automatically set the 'number' option in Vim when entering Ex mode, set 'nonumber' in visual mode Still I am not sure that I can follow those ...
2
votes
1answer
89 views

How to share syntax highlights files for a “new” language?

In past I asked the question about how to create syntax specifications for ChatScript, a new programming language unforeseen in standard programming languages vim set (see: Vim syntax highlighting for ...
0
votes
0answers
370 views

Colorscheme does not change font after .vimrc modification

I downloaded the base16-monokai.vim file and placed it inside the vim/colors folder. After modifying the .vimrc file with colorscheme base16-monokai and restarting vim, the terminal window will change ...
1
vote
1answer
595 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 ...
2
votes
1answer
447 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 ...