Path: utzoo!utgpu!water!watmath!clyde!bellcore!decvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!its63b!aiva!ken From: ken@aiva.ed.ac.uk (Ken Johnson) Newsgroups: comp.editors Subject: Block copy on Vi Message-ID: <449@aiva.ed.ac.uk> Date: 17 May 88 10:40:44 GMT References: <2587@geac.UUCP> <27909@yale-celray.yale.UUCP> <86@skep2.ATT.COM> <393@aiva.ed.ac.uk> <52205@sun.uucp> <408@aiva.ed.ac.uk> <653@ubu.warwick.UUCP> Reply-To: ken@uk.ac.ed.aiva (Ken Johnson,E32 SB x212E) Followup-To: comp.editors Organization: Dept. of AI, Univ. of Edinburgh, UK Lines: 15 In article <653@ubu.warwick.UUCP> nwho@diamond.UUCP (Nick (Alfie) Holloway) writes: >And a final question, how do I copy a marked section. I can move using > :`a,`bm. >(or whatever for addresses) >but if I wish to copy do I have to yank then put? Use `t' (transfer) e.g. :10,20t30 copies lines 10 to 20 inclusive to just after line 30. -- ------------------------------------------------------------------------------ From Ken Johnson, AI Applications Institute, The University, EDINBURGH Phone 031-225 4464 ext 212 Email k.johnson@ed.ac.uk