Re: vim command line use

2011-11-16 Thread Gary Johnson
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

Re: vim command line use

2011-11-16 Thread Jeet Sukumaran
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

Re: vim command line use

2011-11-03 Thread Ben Fritz
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

Re: vim command line use

2011-11-03 Thread rod
> >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

Re: vim command line use

2011-11-03 Thread George Papanikolaou
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

Re: vim command line use

2011-11-03 Thread sc
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

vim command line use

2011-11-03 Thread Weissman, Eric (GE Energy Services)
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