Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!munnari.oz.au!goanna!minyos!monu6!edp367s From: edp367s@monu6.cc.monash.edu.au (Rik Harris) Newsgroups: comp.editors Subject: Re: edit multiple files in vi? Message-ID: <1990Sep24.053330.3024@monu6.cc.monash.edu.au> Date: 24 Sep 90 05:33:30 GMT References: <1990Sep19.133419@ai.mit.edu> Organization: Monash University, Caulfield Campus Lines: 40 jansteen@cwi.nl (Jan van der Steen) writes: >Dan_Bloch@TRANSARC.COM writes: >>A few additions to the recent discussion on editing multiple files >>in vi: >[stuff deleted...] >> - "Cutting and pasting" between files is almost as easy as within a >> single file; you just have to use the named buffers for y and d >> commands. That is, yy will be forgotten when you change files, but >> "ayy will still be known. [Hot tip: "Ayy appends to the buffer >> instead of replacing it.] >And if you include the following mappings in your .exrc >(or EXINIT variable) the cut and yank buffers will be >global by default: > map D "zD > map d "zd > map p "zp > map P "zP > map y "zy > map Y "zY Hmmmm, when I try this it says "no tail recursion". My main concern was the command 'dd' but when I tried this to check, it gave me the above diagnostic. Do you actually use this???? rik. -- Rik Harris - edp367s@monu6.cc.monash.edu.au | Build a system that Faculty of Computing and Information Technology, | even a fool can use, Monash University, Caulfield Campus, Australia | and only a fool will (say that with your mouth full!) | want to use it.