this one is closest to what i'm looking. thanks!

Search blah in .py files recursively:
> :vimgrep blah **/*.py
>
> List matches:
> :cl
>
> Goto match 20:
> :cc 20

regards,

Nuhaa All Bakry / cawanpink
http://cawanpink.net
http://fosschix.my



On Mon, Sep 6, 2010 at 5:04 PM, ApOgEE <[email protected]> wrote:

> :!grep -lir "apa yang dicari" .
>
>
>
> On Mon, Sep 6, 2010 at 4:23 PM, Ihsan Junaidi Ibrahim <
> [email protected]> wrote:
>
>> if you are searching for c/c++ definitions, use cscope/ctags.
>>
>> On 6 September 2010 15:56, Mohammed Firdaus <[email protected]>
>> wrote:
>> > Search blah in .py files recursively:
>> > :vimgrep blah **/*.py
>> >
>> > List matches:
>> > :cl
>> >
>> > Goto match 20:
>> > :cc 20
>> >
>> > Thanks,
>> >
>> > Mohammed Firdaus
>> >
>> > On Mon, Sep 6, 2010 at 2:27 PM, nuhaa <[email protected]> wrote:
>> >> hola n salam all...
>> >>
>> >> ok the question is - is there a quick way inside vim, i can search for
>> a
>> >> string in a collection of files and then it will list down all the
>> files and
>> >> then i can choose which one i want to open?
>> >>
>> >> i usually do it something like this in terminal: find . -type f -print
>> |
>> >> xargs grep searchterm
>> >> from the list of files displayed, i then edit the files in vim
>> >>
>> >>
>> >>
>> >> regards,
>> >> nuhaa
>> >>
>> >> --
>>
>
>
> --
> Best Wishes,
>
> M. Fauzilkamil Zainuddin
> ----------------------------------------------------
> ApOgEE a.k.a JeRuNgKuN
> ----------------------------------------------------
> https://edge.launchpad.net/~apogee <https://edge.launchpad.net/%7Eapogee>- 
> ApOgEE on LaunchPad
> http://artofapogee.blogspot.com - Art Of ApOgEE
> http://coderstalk.blogspot.com - Coder's Talk
> ----------------------------------------------------
>
>  --
> Join Open Source Developers Club Malaysia http://www.osdc.my/
>
> Facebook Fan page
>
> http://www.facebook.com/group.php?gid=98685301577
>
> http://www.facebook.com/OSDC.my
>
> You received this message because you are subscribed to the Google
>
> Groups "OSDC.my Mailing List" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<osdcmy-list%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/osdcmy-list?hl=en
>

-- 
Join Open Source Developers Club Malaysia http://www.osdc.my/

Facebook Fan page

http://www.facebook.com/group.php?gid=98685301577

http://www.facebook.com/OSDC.my

You received this message because you are subscribed to the Google

Groups "OSDC.my Mailing List" group.
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/osdcmy-list?hl=en

Kirim email ke