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 <cawan.nu...@gmail.com> 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
>
> --
> 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 osdcmy-list@googlegroups.com
> To unsubscribe from this group, send email to
> osdcmy-list+unsubscr...@googlegroups.com
> 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 osdcmy-list@googlegroups.com
To unsubscribe from this group, send email to
osdcmy-list+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/osdcmy-list?hl=en

Kirim email ke