On 27 Apr 2010, at 6:31 PM, Alex Satrapa wrote:

> I've only ever used the "/" search command in VIM, is there another?
> 
> For what it's worth, the live-search-with-regex in VIM works like this:
> 
> Given the following text:
>> #
>> # Alex's ZSH environment
>> # $Id$
>> #
>> #  vim: ts=3 sw=3 noet 
>> #
> 
> When I type "/", VIM enters search mode. I have live search and highlights 
> turned on.
> 
> I start typing "# ", VIM highlights the first occurrence of that pattern from 
> the cursor to the end of line.
> 
> Continue typing out the regex "# .", the highlight covers the "# A" of "# 
> Alex's …"
> 
> Now type "*" to make the regex "# .*", the highlight covers the line "# 
> Alex's ZSH environment"
> 
> Now type "'" and the highlight only covers "# Alex'"


Okay, I now understand how it would work on a VT100. One more step...

How does this relate to "incremental search" as the term is understood in a 
graphical UI, where the user expects to see _all_ matches highlighted? What 
happens when the user types ".+", possibly on the way to adding more to the 
pattern? And do you have an opinion on whether that would be helpful? (I think 
it _might_, but I still doubt.)

        — F

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to