Is there a plugin or way for me to alternate the background color for each line in vim?
E.g.
Previously I'd found vim-zebra but this looks really ugly:
I'd prefer the whole line to be colored, not just a part of it.
Is there a plugin or way for me to alternate the background color for each line in vim?
E.g.
Previously I'd found vim-zebra but this looks really ugly:
I'd prefer the whole line to be colored, not just a part of it.
It is possible using my plugin DynamicSigns. Quoting from the README:
2.7 Alternating colors
You can also set up the plugin to color the lines in your buffer in alternating colors. To do so, set the g:Signs_Alternate variable in your |.vimrc| like this:
:let g:Signs_Alternate = 1
This will display each even line nummer in one color and each odd line number in a different color.
Run :UpdateSigns or :Signs to update displaying the signs in your buffer.
LineOdd
and LineEven
groups but I couldn't find where you define theses groups patterns (with a syntax match
or similar function) would you mind pointing me out to this place?
airline
/powerline
manage to color entire lines.:highlight command
. The default is:hi Zebra ctermbg=green guibg=green