A.J.Mechelynck wrote:
Charles E Campbell Jr wrote:(and :nohls will clear the highlighting). Alternatively, :set list will show ~s at the end of lines containing spaces, too.":set list" will replace tabs by ^I (two screen cells) unless 'listchars' has been set to include a "tab:" suboption, e.g. with:set list listchars+=tab:\ \ which also ends in a space.
Sorry 'bout that: try set listchars=tab:>-,trail:~,eol:$ set list *that* will show trailing spaces as ~s. Regards, Chip Campbell