* Anthony Campbell [2011.03.15 10:20]:
> 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? 

I don't know how to do this from inside vim, but if you can use a shell
then it's easy. Just call it like so:

$ vim $(grep -l 'particular string' /directory/with/400/files/*)

-- 
JR

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