]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: Split 'listchars' in multiple lines.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 1c64c8efd2b1fe429786a58d42592eab804e0422..fd788ef20aa21a242c92e9a2a525ef5464d51d42 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -198,10 +198,14 @@ endif
 " remove the highlighting until the next search.
 set hlsearch
 
-" Display tabs, trailing space, non breakable spaces and long lines (when
-" wrapping is disabled).
+" Display some special characters.
 set list
-set listchars=trail:-,extends:>
+set listchars=
+" Display trailing whitespace as "-".
+set listchars+=trail:-
+" Display markers for long lines when wrapping is disabled.
+set listchars+=extends:>
+" Display non-breakable space as "!".
 if v:version >= 700
     set listchars+=nbsp:!
 endif