Stack Exchange Network

Stack Exchange network consists of 175 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 [color]

The tag has no usage guidance.

1
vote
1answer
61 views

Change background color of git conflict marker sections

If git is performing a 3-way merge and has a conflict it can't resolve, it marks up that area of the file like this: No unresolvable conflicts here <<<<<<< HEAD xyz ||||||| ...
0
votes
1answer
46 views

Highlighting screen positions, or `:set colorcolumn` only for the 2 bottom and top lines visible on the screen

The option colorcolumn is really useful. I would like a similar result to what it yields but only for the two lines that are at the top and the bottom of the screen (not the document, but the screen). ...
0
votes
0answers
23 views

How to stop Vim changing color of the empty space on its own?

I didn't know what is the best title for this question. This problem is annoying me so much. I'm on Windows 7 and using nvim-qt. When I search for a word in the project or for example open NERDTree ...
0
votes
2answers
35 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 ...
2
votes
0answers
38 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 ...
0
votes
2answers
241 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 ...
4
votes
0answers
46 views

Have colors when using :make

When I'm using :make, the output doesn't have any color. The text is only white. But when I'm using :!make for a C project or :Cargo run for a rust project ( I also use rust.vim ) , there are colors ...
1
vote
2answers
267 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 ...
3
votes
0answers
120 views

Why are Vim 8 :term colours with gvim different from those in plain vim :term or bash?

Vim 8 :term colours in gvim happen to be different from those seen in plain vim :term or bash. How come? How does one obtain the same bash colours in gvim? EDIT: I have been reading a bit more about ...
0
votes
1answer
914 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 ...
0
votes
1answer
282 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 ...
1
vote
1answer
36 views

How do I manually set the colorscheme for a single editing session?

Essentially, what if I want the markdown color scheme for a file not ending in .md? Sometimes I create files conforming to the markdown standard, but they don't have a .md extension. Ideally, this ...
1
vote
1answer
85 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 ...
1
vote
1answer
115 views

Change the colors provided in gui-colors

If I type :h gui-colors, a list of available color names pops up. Often times I just want to change the tone of a color. Assuming these are simple variables of some sort, can I redefine these somehow? ...
2
votes
0answers
40 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: ...
0
votes
1answer
109 views

Set text color for each column

I have a tab-delimited text file with fairly long lines. To improve readability, I would like to color text in each column individually. Is this possible in Vim? For example, the first column text ...
0
votes
1answer
955 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
2answers
154 views

Plugin vim-signature: How to change mark column character color?

Currently mark character is bright red as in below screenshot. How to change it?
5
votes
1answer
541 views

What is the difference between red and cyan in spell check highlighting?

My Problem I have added the following to my .vimrc to enable spell checks: " Spell Checking set spelllang=en_us set spellfile=$HOME/en.utf-8.add set spell Giving the following highlight: Both "...
3
votes
1answer
272 views

Get back regular vim colors

I just installed Linux Mint 18.3 and to my surprise colors in vim changed! Vim in the terminal on the left has the color scheme I've always seen and got used to. Vim in the terminal on the right has ...
2
votes
0answers
69 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 ...
1
vote
0answers
192 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 ...
3
votes
1answer
75 views

Changing the color of delimited text

I am editing text of the form first line second line \note{ first line second line } I have to leave intact the text that's delimited by curly brackets and edit the text that's not delimited. But ...