Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!uunet!pcserver2!ddsw1!dattier From: dattier@ddsw1.MCS.COM (David W. Tamkin) Newsgroups: comp.editors Subject: Re: vi macros Keywords: macros meta chars Message-ID: <1991Jan28.164208.28876@ddsw1.MCS.COM> Date: 28 Jan 91 16:42:08 GMT References: <4625@male.EBay.Sun.COM> <1991Jan25.075031.11182@convex.com> Organization: Contributor Account at ddsw1, Wheeling, Illinois Lines: 29 tchrist@convex.COM (Tom Christiansen) wrote in <1991Jan25.075031.11182@convex.com>: | From the keyboard of carl@mugwump.UK.Sun.COM (Carl Johnson - Sun EHQ - MIS): | : I am also having problems with the automatic commenting macro :- [Carl quotes a previous recommendation by Tom:] | : " from edit mode, this comments a line | : map ^X ^i/* ^[A */^[^ [Carl asks:] | : I know the ^X is a control char but is the ^i? If so, how do I | : get it? I tried the usual way of hitting ctrl-V first but this didn't work. [Tom explains:] | the ^i is a ^ (caret) plus an i. vi's I does the same thing is ^i, is shorter to type, and doesn't confuse people in print. __ David Tamkin Box 7002 Des Plaines IL 60018-7002 708 518 6769 312 693 0591 MCI Mail: 426-1818 GEnie: D.W.TAMKIN CIS: 73720,1570 dattier@ddsw1.mcs.com [csh is] a real pain. I've heard Bill Joy will tell you he didn't understand expression evaluation when he wrong it. -- Tom Christiansen in <110255@convex.convex.com>