Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!slxsys!ibmpcug!demon!cliff From: cliff@demon.co.uk (Cliff Stanford) Newsgroups: comp.editors Subject: Re: Vi map help needed Keywords: vi Message-ID: <1991Mar08.181732.2458@demon.co.uk> Date: 8 Mar 91 18:17:32 GMT References: <1991Mar2.210747.26919@solo.csci.unt.edu> <1991Mar04.162508.352@ddsw1.MCS.COM> Organization: Demon Systems Limited Lines: 23 On a similar problem, can anyone *please* tell me why the following does not work? map! ^F ^V^M { /* ^V^[?(^V^MyB``pa */ ^V^[yypr}O It is supposed to take the following line type int xyzzy() and make: int xyzzy() { /* xyzzy */ } /* xyzzy */ what it does is to make: int xyzzy() { /* a */ } /* a */ Thanks, Cliff. -- Cliff Stanford Email: cliff@demon.co.uk (Work) Demon Systems Limited cms@demon.co.uk (Home) 42 Hendon Lane Phone: 081-349 0063 (Office) London N3 1TT England 0860 375870 (Mobile)