Search notes:

Vim ex command: highlight

Listing highlight groups

:highlight
:highlight {group-name}
The first command lists all current highlight groups. The second one only those for group-name.

Resetting highlight groups

:highlight clear
:highlight clear {group-name}

Disabling highlighting

:highlight {group-name} NONE

Add highlight group

:highlight [default] {group-name} {key}={arg}

See also

Ex commands
There is also a highlight option.

Index