[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clearing search buffer in vim



on Mon, 12 May 2003 03:00:22AM +0200, Michael Naumann insinuated:
> On Monday 12 May 2003 02:37, Colin Watson wrote:
> > On Mon, May 12, 2003 at 02:13:20AM +0200, Eric wrote:
> > > Colin Watson wrote:
> > > >I unset the 'hlsearch' option, so I don't get the highlighting
> > > >in the first place. If you do have hlsearch set, though, :noh
> > > >(or :nohlsearch) will clear it until the next search.
> > >
> > > Seems much more easy to hit '/xxx' than ':noh', isn't it?
> >
> > Whatever works for you. I find it easier to type something
> > reliable than something that might by chance not work and mean I
> > have to think to type something else random.
> 
> Besides, :noh doesn't mess up your search-history.  And ... you can
> map it to a single key-stroke.

oo, even better! :)

</nori>

-- 
    .~.      nori @ sccs.swarthmore.edu
    /V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\          @ maenad.net
  /(   )\       www.maenad.net
   ^`~'^
            get my (*new*) key here:
   http://www.maenad.net/geek/gpg/7ede5499.asc
      (please *remove* old key 11e031f1!)

Attachment: pgp34gTO_46l_.pgp
Description: PGP signature


Reply to: