Highlight invisible chars in vim
set listchars=tab:▸\ ,eol:¬,trail:~,extends:>,precedes:<,nbsp:•
highlight NonText guifg=#4a4a59
highlight SpecialKey guifg=white guibg=#cc0000
Written by Pierre JAMBET
Related protips
2 Responses
There was vimcast about it:
http://vimcasts.org/episodes/show-invisibles/
over 1 year ago
·
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#