Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!wuarchive!uunet!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.editors Subject: Re: Is there a vi command to... Message-ID: <1991May09.160949.12305@convex.com> Date: 9 May 91 16:09:49 GMT References: <4279@meaddata.meaddata.com> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Distribution: usa Organization: CONVEX Software Development, Richardson, TX Lines: 14 Nntp-Posting-Host: pixel.convex.com From the keyboard of richt@meaddata.com (Rich Thompson): :Is there any command in VI which will execute a "~" on every :character on the current line to the right of the current :character? map = y$mno^V^[P:s/./\~/g^V^M0"nDdd`n@n you probably don't need the ^V's if this is in your .exrc instead of just typed in. --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "So much mail, so little time."