Awesome Vim Macro Highlights Lines Longer Than 80 Columns

| Comments

I came across a great vim macro that shows you lines longer than 80 columns.

After using it for a bit, I realized that showing a the foul line down the entire page, like many editors do, is overkill. You only need to know about the line limit when you’ve exceeded it. Why show the line all the time?

This macro gives the clear visual cue only when you’ve broken the rule.

blog comments powered by Disqus