On Fri, Feb 23, 2007 at 04:26:50PM +0300, Pavel Shevaev wrote:
> >:vimgrep pattern directory/**/*.h
>
> Just an aside question - is there anything alike for find & replace in
> files? Something like :%s/../../g could be very helpful...
> Especially it would be great to see replaced stuff in quick
:vimgrep pattern directory/**/*.h
Just an aside question - is there anything alike for find & replace in
files? Something like :%s/../../g could be very helpful...
Especially it would be great to see replaced stuff in quickfix window.
--
Best regards, Pavel
Peng Yu wrote:
On 2/22/07, Jean-Rene David <[EMAIL PROTECTED]> wrote:
* Peng Yu [2007.02.22 11:15]:
> I have a C++ project in some dir say "project"
> or its subdir. Although I can use find and grep
> outside vim to search for any word in "project".
> But this is not very convenient.
Well you c
* Peng Yu [2007.02.22 16:15]:
> I read the help. But I still don't see how to search in all the *.h
> and *.cc in a certain directory. Do I have to rely on the external
> command "find"?
It would help if you told us what version of vim
you use and what you tried.
If you have vim 7, you can use:
On 2/22/07, Jean-Rene David <[EMAIL PROTECTED]> wrote:
* Peng Yu [2007.02.22 11:15]:
> I have a C++ project in some dir say "project"
> or its subdir. Although I can use find and grep
> outside vim to search for any word in "project".
> But this is not very convenient.
Well you can use an extern
Peng Yu <[EMAIL PROTECTED]> said:
> Hi,
>
> I have a C++ project in some dir say "project" or its subdir. Although
> I can use find and grep outside vim to search for any word in
> "project". But this is not very convenient.
>
> I want to do the search in vim. And vim should give me a list of all
* Peng Yu [2007.02.22 11:15]:
> I have a C++ project in some dir say "project"
> or its subdir. Although I can use find and grep
> outside vim to search for any word in "project".
> But this is not very convenient.
Well you can use an external grep from within vim.
One advantage is that it's relat
Hi,
I have a C++ project in some dir say "project" or its subdir. Although
I can use find and grep outside vim to search for any word in
"project". But this is not very convenient.
I want to do the search in vim. And vim should give me a list of all
the occurrences of the searched word. Then I c