From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9400,62951c700994df34 X-Google-Attributes: gidf9400,public X-Google-Thread: fee84,62951c700994df34 X-Google-Attributes: gidfee84,public X-Google-Thread: 10b05a,eebc048575b82884 X-Google-Attributes: gid10b05a,public X-Google-Thread: 107393,62951c700994df34 X-Google-Attributes: gid107393,public From: elephant@zeta.org.au (Jason King) Subject: Re: Unix editors w/features for dealing with columnar data? Date: 1995/05/08 Message-ID: <3ok6lo$2m0@godzilla.zeta.org.au>#1/1 X-Deja-AN: 102194892 distribution: inet references: <3nr6nl$cak@news.iastate.edu> <3o33l5$l91@senator-bedfellow.MIT.EDU> <3o3fjv$ens@vixen.cso.uiuc.edu> <3o8cb0$ft0@godzilla.zeta.org.au> <3ob8o3$b7v@vixen.cso.uiuc.edu> <3obgpv$ct7@senator-bedfellow.MIT.EDU> organization: Kralizec Dialup Unix Sydney, +61-2-837-1183 V.32bis reply-to: elephant@zeta.org.au (Jason King) newsgroups: comp.editors,comp.os.ultrix,comp.unix.osf.osf1,alt.lang.s-lang 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