On Fri, 4 Jan 2013 14:29:39 -0800, Gary Kline wrote:
> On Fri, Jan 04, 2013 at 06:09:53AM -0800, Devin Teske wrote:
> > 
> > On Jan 3, 2013, at 11:03 PM, Polytropon wrote:
> > 
> > > On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote:
> > >>  one question I have may solve the problem of vim displaying
> > >>  all the ^/search terms and displaying them in some color. 
> > >>  the default brown is awful, but dark blue isn't much bbetter.
> > > 
> > > If you try :colorscheme blue you can see that the results have
> > > orange background with dark text (maybe black?), while the editor
> > > background is blue (as the name of the color scheme suggests).
> > > 
> > > 
> > > 
> > >>  So: can I add something to my ~/.vimrc that =limits=
> > >>  the "search" to displaying one term?  if I am searching for,
> > >>  say, "the" or I guess /\<the\>, I dont want every "the" in my 
> > >>  file.  I want only  one.   or one at a time, and not necessarily
> > >>  in color.
> > > 
> > > If you have :set hlsearch activated, all (visible) matches will
> > > be highlighted,
> > 
> > :set hls
> > :set nohls
> > 
> > for short to enable/disable (respectively).
> > 
> > 
> > > and the cursor will be placed at the first match.
> > > 
> > 
> 
> 
>       YES!  well, at least it works when I reply in mutt --which ive got
>       set to use vim.  the "set" strings immediately vanished from deep
>       blue ...  in other words, I can read the reply much more easily.
> 
>       I put the 
> 
>       ":set nohls"
> 
>       in my ~/.muttrc and got an error when  I exec'd mutt.  I'll try
>       without the colon.

Yes, that's the correct syntax (like for .vimrc).





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to