2013-01-18

coloring vim after 80 characters or more

from this stackoverflow question,

to enable columns to be colored differently in vim for certain columns or ranges:

for everything after column 80 to be colored:

let &colorcolumn=join(range(81,999),",")

for column 80 to be highlighted, and everything after 110:

let &colorcolumn="80,".join(range(111,999),",")
Standard

Leave a comment