Lucas Ou-Yang
Lucas Ou-Yang

Reputation: 5655

How to change the color of the left gutter in VIM?

In VIM, i'm using a default theme from someone else with tweaks. The color on the left gutter is dark gray and this makes it hard to see the contents of my gutter (in this case it's vim-gitgutter).

Example:

enter image description here

How can I update the .vimrc to change this color?

Thanks

Upvotes: 7

Views: 1941

Answers (2)

romainl
romainl

Reputation: 196816

Locate the hi SignColumn in the colorscheme and play with the guibg and ctermbg values.

Upvotes: 2

FDinoff
FDinoff

Reputation: 31459

The gutter is called the sign-column in vim. It is controlled by the highlight group SignColumn

Example:

highlight SignColumn guibg=blue ctermbg=white

(This needs to be placed after you source your colorscheme)

This could have been found from the vim-gitgutter readme.

Upvotes: 7

Related Questions