On Sun, Jan 06, 2008 at 08:09:49PM -0800, Ralph Shumaker wrote:

The coloring is already subtle (deep dark blue).  How do I set it so that:
:set list
:set listchars=tab:>-,trail:-
are always on unless I want to turn them off? (And what is the simplest way to turn them off? :set nolist?)

Just put them in your "~/.vimrc".  The :set nolist will turn them off.

I'm guessing you have a dark background.  Dark blue is hardly subtle on the
beige background I use.

With a UTF-8 terminal, you can set the listchars to any Unicode character
you have in your font, so you can probably find something nice and subtle.

All tabs to varying lengths of ">" to ">------" (in dark blue) and trailing spaces as dark blue ASCII 216 (or maybe just "X") would be nice. If color is ever in conflict with something else (like comments), how do I change it?

Try   :help highlight   for more information.  You might play with some of
the :colorscheme  options.  If completion is on, you should be able to type
:colorscheme<space><tab> and then be able to cursor through a list.  There
are hundreds more available, but most seem optimized for gvim.

The highlight for the tabs is 'SpecialKey', so, you could try something
like

  :hi SpecialKey ctermfg=Cyan guifg=Cyan cterm=NONE term=NONE

Which I find much less intrusive.

Dave

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to