On Tue, May 06, 2008 at 11:04:30AM +0300, Erez D wrote:
> hi
> 
> i am running gvim under XP, and want to search for a word in a list of c
> files,
> 
> i could do that by:
> :args *.c
> :argdo /word
> 
> but i prefer to get the output similar to the output of make: a list of
> lines where i can click and get to the places
> 
> i tried combining argdo with vimgrep or grep but wasn't successful.
> 
> anyone ?

:h grep

  Vim has two ways to find matches for a pattern: Internal and external.
  The advantage of the internal grep is that it works on all systems and
  uses the powerful Vim search patterns.

  ...

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                    | a Mutt's
[EMAIL PROTECTED] |                    |  best
ICQ# 16849754         |                    | friend

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to