Up:: Programming
VIM 7.3 Highlight long lines
VIM 7.3 introduced the “colorcolumn
” option, which highlights a specific column. PEP8 recommends a maximum line length of 79 characters for Python code, so setting colorcolumn to 80:
set colorcolumn=80
will give you a vertical line at the 80th column:
See “:help colorcolumn
” for more information.