How do I highlight all the characters after a particular column?

You can use the “:match” command to highlight all the characters after a particular column:

    :match Todo '\%>75v.\+'

This will highlight all the characters after the 75th column. You can also set the ‘colorcolumn’ option to highlight a particular column: :set colorcolumn=+2 which highlights 2 columns after the current ‘textwidth’ setting (alternatively, you can use the exact column number).

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind