Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.editors Subject: Re: vi macros Keywords: macros meta chars Message-ID: <1991Jan25.075031.11182@convex.com> Date: 25 Jan 91 07:50:31 GMT References: <4625@male.EBay.Sun.COM> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 27 Nntp-Posting-Host: pixel.convex.com From the keyboard of carl@mugwump.UK.Sun.COM (Carl Johnson - Sun EHQ - MIS): : I finally got around to looking at Tom Christiansen's (Thanks Tom) certainly. : map ^V \ : " so can use both ^I and \ for meta-key there's a control-I (tab), then a space, after the ^V. : I am also having problems with the automatic commenting macro :- (although the \c macro is cooler.) : " from edit mode, this comments a line : map ^X ^i/* ^[A */^[^ : 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. the ^i is a ^ (caret) plus an i. --tom -- "Hey, did you hear Stallman has replaced /vmunix with /vmunix.el? Now he can finally have the whole O/S built-in to his editor like he always wanted!" --me (Tom Christiansen )