From: Simon Ruderich Date: Sun, 17 Jun 2012 13:20:03 +0000 (+0200) Subject: vimrc: Split 'listchars' in multiple lines. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=42d4224b0c3b5b83872832d9ca9eb7ce230d3d24;p=config%2Fdotfiles.git vimrc: Split 'listchars' in multiple lines. --- diff --git a/vimrc b/vimrc index 1c64c8e..fd788ef 100644 --- 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