vim Invisible characters


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

$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