Once you get used to Python layout and Markdown, there are times you want Vim to visualize blank lines and tabs.
Show them temporarily in Vim
: set list
: set listchars=tab:»-,trail:-,eol:↲,extends:»,precedes:«,nbsp:%,space:_Show them permanently
Add the following to ~/.vimrc
set list
set listchars=tab:»-,trail:-,eol:↲,extends:»,precedes:«,nbsp:%,space:_Turn the display back off
Inside Vim,
:set nolistReference
[Changing listchars colors for tabs, spaces, newlines, and so on in Vim (in Japanese)] (https://qiita.com/pollenjp/items/459a08a2cc59485fa08b )
| Item | Description |
|---|---|
| set list | Show invisible characters |
| set listchars | Configure which characters to use |
| tab | Show tab characters |
| trail | Show trailing spaces |
| eol | Show newlines |
| space | Show spaces |