Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!olivea!orc!inews!iwarp.intel.com!gargoyle!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.editors Subject: Re: vi question Message-ID: <1990Sep11.210116.29495@chinet.chi.il.us> Date: 11 Sep 90 21:01:16 GMT References: <2112@bnlux0.bnl.gov> Organization: Chinet - Chicago Public Access UNIX Lines: 12 In article <2112@bnlux0.bnl.gov> como@max.bnl.gov (Andrew T. Como) writes: >Is there a way to change a word case....(ie...from lower to upper) Not exactly, there's n~ where n is the (optional) number of letters to switch case, or there's the ex mode \U in a regex replacement that makes the following substitution in uppercase: :s/.*/\U&/ will uppercase the whole line Maybe someone has a nifty macro to do a word at a time. Les Mikesell les@chinet.chi.il.us