Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ptsfa.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!zehntel!dual!ptsfa!mrg From: mrg@ptsfa.UUCP (Maria Gonzalez) Newsgroups: net.unix Subject: Re: Undocumented vi command Message-ID: <440@ptsfa.UUCP> Date: Tue, 22-Jan-85 18:43:08 EST Article-I.D.: ptsfa.440 Posted: Tue Jan 22 18:43:08 1985 Date-Received: Thu, 24-Jan-85 07:58:07 EST References: <7532@brl-tgr.ARPA> Organization: Pacific Bell, San Francisco Lines: 19 > > When in vi visual or open mode, try typing a tilde (~): it converts > > from upper to lower case and vice versa, advancing the position of the > > cursor in the process. > > Unfortunately, the `~' command doesn't want to move ahead when prefixed by > a repeat factor. It just sits there and converts the same character N times! > > Sh?t! > > Greg McGary > Locus Computing Corp. > lcc!gm@ucla-cs > {ihnpr,randvax,sdcrdcf,ucbvax}!ucla-cs!lcc!gm > {trwspp,ucivax}!ucla-va!ucla-cs!lcc!gm > trwb!lcc!gm Yes, unlike most of vi commands this one cannot be prefixed by a number. mrg