Highlighting Long a Lines

This is a simple configuration for detecting when a line is over a certain length within VIM. This uses a option called colorcolumn which is only available when compiled with the syntax feature.

highlight ColorColumn ctermfg=white ctermbg=darkred guibg=darkred
colorcolumn=+1

That will highlight the column one character after the textwidth. If the textwidth is zero, then this will not be used.