Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!sci.kun.nl!cs.kun.nl!hansm From: hansm@cs.kun.nl (Hans Mulder) Newsgroups: comp.editors Subject: Re: Vi/Ex: Editor command line editor? Message-ID: <2797@wn1.sci.kun.nl> Date: 27 Feb 91 10:53:25 GMT References: <1991Jan30.175602.400@convex.com> <4748@male.EBay.Sun.COM> <5104@lure.latrobe.edu.au> Sender: root@sci.kun.nl Organization: University of Nijmegen, The Netherlands Lines: 22 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. > u > :BORING REPETITION WITH A ONE-CHARACTER CORRECTION > OOPS! I miscued again. All this work for a once-only! > :AND SO ON > >Command line editing for ex? Would be a great idea. Definitely. If you know in advance you are going to mistype that long expression, you can fake it: you enter the line into your main edit buffer, and execute it by saying "yY@y (and then you undo it, repair it, etc.). But it would be much nicer if you could access previous : / and ! commands with some sort of Korn shell style history mechanism. >GT Hans Mulder hansm@cs.kun.nl