Highlight right margin in vim
September 9, 2009 2:15 PM Subscribe
VIMfilter: I want to change the background color of every column past 80. What I don't want
posted by sbutler to computers & internet (5 answers total) 3 users marked this as a favorite
Found tons of solutions like these
:highlight rightMargin ctermfg=lightblue
:match rightMargin /.\%>79v/
Which is kind of what I want, except it only highlights lines that have content in them. I want to highlight all lines
, even if the content doesn't extend that far.
Exactly like in TextMate when you turn on "Show right margin indicator" and "Highlight right margin".