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 >> >> -- >> 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 > > -- > 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
-- Thank you for your time, Ihsan Junaidi Ibrahim -- 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

