Friday, January 14, 2011

highlight chars more than 80 chars in vim

it would be useful sometime while formatting code, you might want to see the characters more than 80 chars wide in vim.

:match ErrorMsg '\%>80v.\+'


this will highlight the chars from 81st character in a line.

No comments: