]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: Add tab and precedes to 'listchars'.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index 1c64c8efd2b1fe429786a58d42592eab804e0422..623b60fd837d51ecf7f285f80c6e8ab9af193099 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -198,10 +198,16 @@ 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 tabs as ">--------".
+set listchars+=tab:>-
+" Display trailing whitespace as "-".
+set listchars+=trail:-
+" Display markers for long lines when wrapping is disabled.
+set listchars+=extends:>,precedes:<
+" Display non-breakable space as "!".
 if v:version >= 700
     set listchars+=nbsp:!
 endif