Skip to content

Instantly share code, notes, and snippets.

@jacobsimeon
Created September 13, 2013 15:44
Show Gist options
  • Save jacobsimeon/6552386 to your computer and use it in GitHub Desktop.
Save jacobsimeon/6552386 to your computer and use it in GitHub Desktop.
" 80 characters color column
if exists('+colorcolumn')
set colorcolumn=80
else
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment