From: elephant@zeta.org.au (Jason King)
Subject: Re: Unix editors w/features for dealing with columnar data?
Date: 1995/05/08 [thread overview]
Message-ID: <3ok6lo$2m0@godzilla.zeta.org.au> (raw)
In-Reply-To: 3obgpv$ct7@senator-bedfellow.MIT.EDU
davis@space.mit.edu writes:
>In JED any line can be a mask line as you have defined. JED includes an
>extremely useful function called `double_line' that can be bound to a key.
>I bind it to `Ctrl-K Ctrl-L'. As its name suggests, it doubles or
>duplicates the current line. So, if I wanted to create a bunch of lines,
>say 6 of your example above, I enter the line once (as you must) then press
>`ESC 5 Ctrl-K Ctrl-L'. This duplicates the current line 5 times (making a
>total of 6).
ok .. not that the original 'mask' description was mine (as it appeared) but
i must step in now to say phooey to JED and to the suggestion that this
'double_line' function has any worth when compared to the power of 'vi'
if you wanted what you seem to be after with your 6 identical lines of
text in 'vi' .. then you would simply preceed the 'o'pen command with the
number of time that you wanted it duplicated .. in this case 6 .. and
then whatever you entered once in insert mode would be reproduced 6 times
once you exit insert mode
anything i like can be reproduced with fewer keystrokes and no key mappings
this is without even going into 'vi's ability to copy into and paste out
of a named register .. JED may be _easier_ to use .. but phooey to any
claim on power
the column thing can be done with 'vi' with a special rc file .. but it
will never be _user_friendly_ in the common sense of the word
--
jason -- elephant@zeta.org.au -- IRC: elephant -- PGP Key Available
next prev parent reply other threads:[~1995-05-08 4:00 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-28 4:00 Unix editors w/features for dealing with columnar data? Charles F Randall
1995-04-28 4:00 ` Larry Felawka
1995-04-30 4:00 ` Jerry Leslie
1995-05-01 4:00 ` Jon Leech
1995-05-02 4:00 ` Jerry Leslie
1995-05-12 4:00 ` Jason King
1995-05-04 4:00 ` Jason King
1995-05-04 4:00 ` Jerry Leslie
1995-05-01 4:00 ` davis
1995-05-01 4:00 ` Anil Joshi
1995-05-04 4:00 ` Jason King
1995-05-04 4:00 ` Anil Joshi
1995-05-04 4:00 ` davis
1995-05-04 4:00 ` Anil Joshi
1995-05-08 4:00 ` Jason King [this message]
1995-05-09 4:00 ` Jason King
1995-05-15 4:00 ` Anil Joshi
1995-05-01 4:00 ` Barbara Vaughan
1995-05-03 4:00 ` VITAL
1995-05-09 4:00 ` Harris Revankar
1995-05-09 4:00 ` Benjamin T. Sugimori
1995-05-09 4:00 ` Benjamin T. Sugimori
1995-05-09 4:00 ` Benjamin T. Sugimori
1995-05-09 4:00 ` Harris Revankar
1995-05-03 4:00 ` Peter da Silva
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox