Monday, March 31, 2008

Re: [BLUG] vim undo search

Its quick and dirty, but it works. I usually just search for
gibberish:

/lasdkfjalsdkfj

That of course will highlight lasdkfjalsdkfj. Which shouldn't exist,
except for in this e-mail and any file called test. ;-)

On Mon, Mar 31, 2008 at 09:59:53PM GMT, Deepan [codeshepherd@gmail.com] said the following:
> Hi All,
> After we search for something in vim using
> /searchterm .. how does one undo the search
> highlighting. I don't want to set the
> hightlighting off. I just want to turn off the
> highlighting of current matches. I generally
> search for some garbage word which would return no
> matches to get around.
> Regards
> Deepan
> Sudoku Solver: http://www.sudoku-solver.net/

>
>
> _______________________________________________
> BLUG mailing list
> BLUG@linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
>

--
Mark Krenz
Bloomington Linux Users Group
http://www.bloomingtonlinux.org/
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Re: [BLUG] vim undo search

Use :noh

And you might want to check out these links:

http://www.vim.org/tips/tip.php?tip_id=93
http://www.vim.org/tips/tip.php?tip_id=14

-Jeff

On Mon, Mar 31, 2008 at 5:59 PM, Deepan <codeshepherd@gmail.com> wrote:
Hi All,
After we search for something in vim using
/searchterm .. how does one undo the search
highlighting. I don't want to set the
hightlighting off. I just want to turn off the
highlighting of current matches. I generally
search for some garbage word which would return no
matches to get around.
Regards
Deepan
Sudoku Solver: http://www.sudoku-solver.net/


_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug



--
Jeffrey Stuart May
jeff.may@gmail.com

[BLUG] vim undo search

Hi All,
After we search for something in vim using
/searchterm .. how does one undo the search
highlighting. I don't want to set the
hightlighting off. I just want to turn off the
highlighting of current matches. I generally
search for some garbage word which would return no
matches to get around.
Regards
Deepan
Sudoku Solver: http://www.sudoku-solver.net/

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug