Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!scslwide!socslgw!csl.sony.co.jp From: kono@csl.sony.co.jp (Shinji Kono) Newsgroups: comp.editors Subject: Re: Vi/Ex: Editor command line editor? Message-ID: <2608@virgo.csl.sony.co.jp> Date: 28 Feb 91 16:30:07 GMT References: <5104@lure.latrobe.edu.au> Sender: daemon@csl.sony.co.jp Reply-To: kono@csl.sony.co.jp Organization: Sony Computer Science Laboratories, Inc. Lines: 14 In article <5104@lure.latrobe.edu.au> , ECSGRT@lure.latrobe.edu.au (GEOFFREY TOBIN, ELECTRONIC ENGINEERING) writes > :.,.+3s/some long expression/another long expression/g... > OOPS! I mistyped something. >Command line editing for ex? In vi, my friends gave me this. (Yes, I prefer vi, even in non crt terminal..) map ^X "zdd@z map! ^X "zdd@z Of course ^X means real control-X. Input your complex :command, and ^X will delete it and execute it. -------- Shinji Kono, E-Mail: kono@csl.sony.co.jp, nifty: MAF00476 $@2OLn??<#(J Sony Computer Science Laboratory, Inc.