:!grep -lir "apa yang dicari" .

On Mon, Sep 6, 2010 at 4:23 PM, Ihsan Junaidi Ibrahim <
ihsan.juna...@gmail.com> wrote:

> if you are searching for c/c++ definitions, use cscope/ctags.
>
> On 6 September 2010 15:56, Mohammed Firdaus <firdaus.ha...@gmail.com>
> 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 <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
> >>
> >> --
>


-- 
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 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