On 15 Mar 2011, Benjamin R. Haskell wrote:
> On Tue, 15 Mar 2011, Anthony Campbell wrote:
> 
> >I have a directory with over 400 files, some of which contain a
> >particular string I want to modify manually. Is there any way to
> >tell vim to edit just the files which contain the specified
> >string?
> 
> Within Vim, you can use the :vim[grep] command to get a list of all
> the matches in a quickfix list.
> 
> :vim[grep] pattern *file-glob*     " does the grep
> :cope[n]                           " c = current, ope[n] the list
> 

Thanks to everyone for prompt replies. Now I have plenty of choice!

Anthony

-- 
Anthony Campbell - [email protected] 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to