Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!milton!ogicse!intelhf!ichips!iwarp.intel.com!gargoyle!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.editors Subject: Re: If you could have anything in vi ... Message-ID: <1991Mar23.204801.11908@chinet.chi.il.us> Date: 23 Mar 91 20:48:01 GMT References: <1991Mar21.011942.27074@rodan.acs.syr.edu> <1962@quando.quantum.de> <27674@neptune.inf.ethz.ch> Organization: Chinet - Chicago Public Access UNIX Lines: 21 In article <27674@neptune.inf.ethz.ch> wyle@inf.ethz.ch (Mitchell Wyle) writes: >>oh yes, is there a way to yank a specified set of lines into a cut-buffer? >>Like: >>:120,145 "aY >>or >>:.,/}/ "aY >ja: >120Gma147G"ay`a What's wrong with: :120,145 yank a or (my preference for most range-style commands) set a mark on the first line you want, move to the last line and reference the range as (assuming mark a is used) :'a,. y a Les Mikesell les@chinet.chi.il.us