On Apr 27, 4:31 pm, Alex Satrapa <gr...@goldweb.com.au> wrote: > On 28/04/2010, at 07:43 , Bee wrote: > > > Since I work cross-platform... Mac, Win, Linux ... I use vim for > > embedded systems coding. > > > vim works with those cases. > > I've only ever used the "/" search command in VIM, is there another?
Yes. * Search forward for the [count]'th occurrence of the word nearest to the cursor. # Same as "*", but search backward. > 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. Is should only highlight the "# " NOT to the end of line: > # Alex's ZSH environment ^^ The remaining description is correct. > 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'" > > So there's how live search can work with regexes :) -- 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com 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 "supp...@barebones.com" rather than posting to the group.