Questions tagged [color]

The tag has no usage guidance.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
146 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 ...
  • 41
4 votes
0 answers
519 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 ...
3 votes
1 answer
167 views

How to set the background color for colored items in the statusline to the background color of the statusline?

I am experimenting with creating a statusline and have opted for coloring different parts of it. The problem is that while the item's foreground color is changed, the background is black and doensn't ...
  • 1,075
2 votes
0 answers
51 views

Is there some way to retrieve/redisplay :echon output?

I want to create a multi-color enabled debug-print command. As far I know, the only way to print multi-color messages in Vim is: echohl Macro | echon "Hi" | echohl Statement | \ echon &...
  • 173
2 votes
0 answers
333 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 ...
  • 1
2 votes
0 answers
84 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 ...
  • 121
2 votes
0 answers
75 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: ...
  • 2,091
2 votes
0 answers
106 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
0 answers
160 views

Vim ignores color 255, as if it doesn't support the 256 ones

Update: it works, if I set the main bg color (white) as ctermbg=231 (it was 015). So it seems that color values in Vim syntax highlight settings shouldn't be mixed: if one uses color codes from the 16 ...
1 vote
0 answers
259 views

gVim 8.2, display problem

I have a weird problem with VIM, both at work and at home (2 different computers): When I open a text in VIM, sometimes it is displaying it correctly, sometime not (I'd say 1 every 3 it works fine, ...
  • 11
1 vote
0 answers
275 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
1 answer
23 views

Is it possible to specify a background color that is "added" in a particular matching region?

If I define a syntax highlighting region (or a match or keyword, for that matter), is it possible to specify or alter the background color of anything in that region, including things contained in it? ...
  • 248
0 votes
0 answers
23 views

how to change color of 'normal' markdown text only in dark version of colorscheme

I'm trying to do this https://stackoverflow.com/a/61454601/3089106 but for the main text, not for comments. This is primarily for markdown files but changing that color globally would be fine. Unlike ...
  • 715
0 votes
0 answers
30 views

How to set background(label) of tabs

I tried the following out of this post. But somehow it does not work. Even if I enter it into my .vimrc and source it. Even if I enter something like: :hi TabLineFill ctermfg=Yellow ctermbg=Red ...
0 votes
0 answers
80 views

How to adjust text color for Texinfo

I am working with Vim 7.4 on Linux (Xubuntu 14.04). I am editing Texinfo files and I would like to adjust the color of ordinary text. The colors of other items (@ macros, comments, etc.) are all okay. ...
0 votes
0 answers
496 views

If background is not transparent in ViM, I see the background color of the terminal, which is different

This problem might be a terminal problem, but maybe some of you managed to solve it. I've been using ViM with the default colorscheme, which has a transparent background, so I see the background color ...
  • 187
0 votes
0 answers
30 views

AnsiEsc plugin error

When executing vim, after installing AnsiEsc, I get the following error: Error detected while processing BufRead Auto commands for "*": E117: Unknown function: AnsiEsc#BufReadPost Do you know how to ...
  • 101