On 9/14/06, Nikolaos A. Patsopoulos <[EMAIL PROTECTED]> wrote:
Hi,
I have a series of questions:
1. I want to edit multiple files from command line so I created a vim
script with all the commands (>20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run this script on multiple files. In vim's help there is
this code for use in bash(?) shell
||for file in *.txt; do|
| vim -e -s $file < change.vim|
If you want to read vim commands from change.vim, then try:
vim -e -s -c 'so change.vim' $file
Also:
:help argdo
Yakov