ic-xqw
Last Updated: February 25, 2016
·
866
· pjambet
9fafb69190a2986f46731f42c2a4bcf9

Highlight invisible chars in vim

vim

set listchars=tab:▸\ ,eol:¬,trail:~,extends:>,precedes:<,nbsp:•

highlight NonText guifg=#4a4a59
highlight SpecialKey guifg=white guibg=#cc0000

Say Thanks
Respond

2 Responses
Add your response

1644
over 1 year ago ·
1645
F700694ebf2911ddfcb0d25c5e0a97b1

I use this to match the way TextMate does it:

set listchars=tab:▶-,trail:•,extends:»,precedes:«,eol:¬

Since I'm using solarized color set they all come through as having a very noticeable red background, so I can avoid trailing spaces and odd tabs.

over 1 year ago ·
Filed Under