" Display some special characters.
set list
set listchars=
+" Display tabs as ">--------".
+set listchars+=tab:>-
" Display trailing whitespace as "-".
set listchars+=trail:-
" Display markers for long lines when wrapping is disabled.
-set listchars+=extends:>
+set listchars+=extends:>,precedes:<
" Display non-breakable space as "!".
if v:version >= 700
set listchars+=nbsp:!