On 2011-11-16, Jeet Sukumaran wrote:
> On Nov 3, 1:11 pm, "Weissman, Eric (GE Energy Services)"
> 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 li
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)"
wrote:
> I have just come across vim for the first time and so I am probably
> asking
On Nov 3, 2:11 pm, "Weissman, Eric (GE Energy Services)"
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
>
>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.
>
These command line switches may be of help.
-s Read Normal mode commands from file
you can run a command in vim using the ! character
>
> 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 ori
On Thursday, November 03, 2011 14:11:28 Weissman, Eric (GE Energy
Services) wrote:
> 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 filena
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 wri