3
I'm using the set list
and set listchars
options in vim. I'd like to customize set listchars
to display trailing spaces, etc., but not tabs. Is it possible to specify that I don't want a particular type of whitespace displayed?
I've tried this:
set listchars=tab:,trail:·,extends:>,precedes:<,nbsp:%
But I got a syntax error when loading my .vimrc
.
5Why not simply use spaces?
set listchars+=tab:\ \
– Nikita Kouevda – 2013-07-05T00:07:04.7301@NikitaKouevda, I didn't know you could escape spaces like that. That works too. If you state that as answer, I'll mark it correct. – Andrew Ferrier – 2013-07-07T23:17:37.383