Vim 7.3 has a new option, colorcolumn.
I can set a colorcolumn color:
:hi ColorColumn ctermbg=lightgrey guibg=lightgrey
I can have how many colorcolumns I want, but I would like to know if it’s possible to have two colorcolumns, each one of them with different colors. Anyone knows if this is possible, or a hack to achieve it using only this new colorcolumn feature?
I couldn’t find a way. Fredrik’s answer is a hack not using
colorcolumn, but doesn’t do exactly what I want.I did a
:h matchand found the exactly line I need:…and, of course, the colorcolumn.