[CLUE-Tech] vi command

Timothy C. Klein teece at silverklein.net
Mon Dec 31 17:08:13 MST 2001


* jbrockmeier at earthlink.net (jbrockmeier at earthlink.net) wrote:
> On Mon, 22 Apr 2002, Kevin Cullis wrote:
> 
> Is this really any better? I mean typing 
> :%s/yes, doctor /\uyes, \udoctor/
> 
> is more time consuming than typing
> :%s/yes, doctor /Yes, Doctor/

Nah, it would just be *way* easier to use the '~' command.  The above
modifiers really shines, though, when it is not clear what work may be
matched by the expression on the right, and you are saving in a /( /)
construct.  That is not the case in this simple example, though.  

The g~w command mentioned erlier seems to be the best.  Does anyone know
if this is just vim, or also a vi thing?

Tim
--
==============================================
== Timothy Klein || teece at silverklein.net   ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================



More information about the clue-tech mailing list