Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.editors Subject: Re: How do I do this in VI? Message-ID: Date: 16 Apr 91 14:13:21 GMT References: <1991Apr15.223037.23316@massey.ac.nz> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 15 In article <1991Apr15.223037.23316@massey.ac.nz> R.Singh@massey.ac.nz (R. Singh) writes: > 1) Copy and paste every line in a file, for eg. :g/^/copy. > 2) Insert a blank line after every line. For eg You have to be in EX mode for this, so hit Q: g/^/a\ \ . -- Peter da Silva. `-_-' peter@ferranti.com +1 713 274 5180. 'U` "Have you hugged your wolf today?"