vimtricks.wiki Concise Vim tricks, one at a time.

How do you display invisible characters like tabs and trailing spaces?

Answer

set list listchars=tab:>-,trail:~,extends:>,precedes:<

Explanation

Enable list and configure listchars to show tabs as >-, trailing spaces as ~, and indicators for text extending beyond the screen.

Next

How do I visually select a double-quoted string including the quotes themselves?