Path: utzoo!attcan!uunet!munnari.oz.au!bruce!mlacus!david From: david@mlacus.oz (David Letcher) Newsgroups: comp.editors Subject: Re: edit multiple files in vi? Message-ID: <630@mlacus.oz> Date: 19 Sep 90 04:22:16 GMT References: <1990Sep13.030424.27298@hybrid.UUCP> Organization: Aust Centre for UNISYS Software(ACUS Melb) Lines: 35 javey@hybrid.UUCP (Shahram Javey) writes: >Is there a way to edit multiple files in vi so that one could move >from one file to next and back again? specify all required files on command line e.g. $ vi file1 file2 file3 ... you are placed in file1. when finished editing this file use :w to write away all changes followed by :n to get to the next file. use :e# to return to the LAST file edited. use :e filename to edit any file.