I just discovered a tool to do exactly this:
https://github.com/trapd00r/vidir
Ever since installing it, I do not think I can work without it.
On Nov 3, 1:11 pm, "Weissman, Eric (GE Energy Services)"
<[email protected]> wrote:
> I have just come across vim for the first time and so I am probably
> asking an old question (but I didn't find it in the FAQ):
>
> Can vim be used as a command on a shell command line? I would like to
> use it to search a list of files and substitute a new string for a
> pattern it finds, and then write the resulting file to a new filename
> for each file in the original list.
>
> Eric Weissman, physicist
>
> GE Reuter-Stokes
>
> Twinsburg, OH 44087
>
> Eric Weissman, physicist
>
> GE Reuter-Stokes
>
> Twinsburg, OH 44087
--
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