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 [color]

The tag has no usage guidance.

1
vote
2answers
21 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
39 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
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 ...
0
votes
1answer
63 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
0answers
23 views

Ansi escape codes in some programs are not omitted?

the program is cargo build, other programs with color outputs are displaying correctly
1
vote
1answer
31 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
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 ...
1
vote
1answer
48 views

Change the colors provided in gui-colors

If I type :h gi-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
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: ...
0
votes
0answers
20 views

How to show the highlight color instead of cursor' white color when highlight color and cursor overlapped?

Highlight all matched characters with red color. hi! ChineseMark ctermbg=red guibg=red match ChineseMark /[\u3000\uff01-\uff5e]/ Add the two lines in my .vimrc. Here is the test.txt file.   ...
0
votes
0answers
33 views

The color isn't reflected after the restore of the previous session on neovim

I use the following code on my init script (~/.vimrc on vim, ~/.config/nvim/init.vim on neovim) to restore the file on the previous quit: function! RestoreSession() if argc() == 0 "vim called ...
0
votes
1answer
48 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
457 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
2answers
87 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?
3
votes
1answer
195 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 "...
4
votes
1answer
134 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
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 ...
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 ...
3
votes
1answer
66 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 ...