Make Vim show ALL white spaces as a character

As others have said, you could use :set list which will, in combination with :set listchars=… display invisible characters. Now, there isn’t an explicit option which you can use to show whitespace, but in listchars, you could set a character to show for everything BUT whitespace. For example, mine looks like this :set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:< so, … Read more