vim Invisible characters


Example

Show or hide invisible characters

To show invisible characters:

:set list 

To hide invisible characters:

:set nolist

To toggle between showing and hiding invisible characters:

:set list!

Default symbol characters

SymbolCharacter
^ITab
$New Line

Customize symbols

To set the tab character to **> ** and the new line character to ¬

set listchars=tab:>\ ,eol:¬

To set the spaces to _

set listchars=spaces

To see a list of character options

:help listchars