Gene Kwiecinski wrote:
Need to keep the pattern in memory? If not, "/zzz" will do it,
assuming
you don't have "zzz" anywhere else in your file, of course.
The search register can be overwritten by setting @/ to ''. This then
clears your search "properly".
For my purposes, I have the follo
i have a mapping that will toggle search highlighting on and off. you may find
it useful.
map :set hlsearch!
--
chad
On Mon, Apr 02, 2007 at 12:43:07PM -0400, Jean-Rene David wrote:
> * shawn bright [2007.04.02 12:00]:
> > when i do a search like /text
> > it highlights all of the matches
* shawn bright [2007.04.02 12:00]:
> when i do a search like /text
> it highlights all of the matches and i can use n
> and N to navigate. how do i turn the
> highlighting off when i am done?
There's a command to do exactly that:
:nohlsearch
This will turn off highlighting for the current
sear
shawn bright said on 02-04-07 17:56:
lo there,
when i do a search like /text
it highlights all of the matches and i can use n and N to navigate.
how do i turn the highlighting off when i am done?
You could put following mapping in your.vimrc:
:nnoremap :nohlsearch
Now, as soon as you hit t
great, have this set now in mine.
thanks,
sk
On 4/2/07, Albie Janse van Rensburg <[EMAIL PROTECTED]> wrote:
Gene Kwiecinski wrote:
>> when i do a search like /text
>> it highlights all of the matches and i can use n and N to navigate.
>> how do i turn the highlighting off when i am done?
>>
>
>
>cool enough, i guess i could map something to
>:/impossible_to_find_text or something
Or, just "zzz"... or "qwqw"... or ";;;"... etc.
>>Need to keep the pattern in memory? If not, "/zzz" will do it,
assuming
>>you don't have "zzz" anywhere else in your file, of course.
>The search register can be overwritten by setting @/ to ''. This then
>clears your search "properly".
>For my purposes, I have the following mapping in my vim
cool enough, i guess i could map something to
:/impossible_to_find_text or something
thanks
sk
On 4/2/07, Gene Kwiecinski <[EMAIL PROTECTED]> wrote:
>when i do a search like /text
>it highlights all of the matches and i can use n and N to navigate.
>how do i turn the highlighting off when i am
Gene Kwiecinski wrote:
when i do a search like /text
it highlights all of the matches and i can use n and N to navigate.
how do i turn the highlighting off when i am done?
Need to keep the pattern in memory? If not, "/zzz" will do it, assuming
you don't have "zzz" anywhere else in your f
>when i do a search like /text
>it highlights all of the matches and i can use n and N to navigate.
>how do i turn the highlighting off when i am done?
Need to keep the pattern in memory? If not, "/zzz" will do it, assuming
you don't have "zzz" anywhere else in your file, of course.
Can fiddle
lo there,
when i do a search like /text
it highlights all of the matches and i can use n and N to navigate.
how do i turn the highlighting off when i am done?
thanks
sk
11 matches
Mail list logo