Is there a plugin or way for me to alternate the background color for each line in vim?
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.