[NBLUG/talk] vim undo search

Barry Stump barry.stump at gmail.com
Tue Apr 1 07:49:22 PDT 2008


According to the vim manual, you can use :nohls to remove the search
highlights (until you search again).  If you want to disable search
highlighting completely, you can use :set nohlsearch (which can be
added to your vimrc).

-Barry

On Mon, Mar 31, 2008 at 11:30 PM, Steve Johnson <srj at adnd.com> wrote:
> On Mon, Mar 31, 2008 at 3:14 PM, Sean <seanvanco at gmail.com> wrote:
>  > I found this while googling. Please let me know if it's what you are
>  >  looking for:
>  >
>  >  Highlighting - searching with "/" or "?" normally highlights the found
>  >  word. Sometimes this can be quite annoying, especially if you have
>  >  searched for something which occurs frequently, like a space. You can
>  >  turn this off:
>  >
>  >  :hi clear search
>  >
>  >  from http://www.gammon.com.au/smaug/vi.htm
>
>
>  Funny, for years, I have just did a second search for dslkjsflsjk, and
>  lucky for me, it has never found it.
>
>  -Steve
>
>
>  --
>  Blog - http://www.fratm.com/index.php/User:Fratm
>  "Knowing others is wisdom; Knowing the self is enlightenment;
>  Mastering others requires force; Mastering the self needs strength." -
>  Lao-Tzu
>
>
>
>  _______________________________________________
>  talk mailing list
>  talk at nblug.org
>  http://nblug.org/cgi-bin/mailman/listinfo/talk
>



More information about the talk mailing list