On 6/12/07, Stewart Stremler <[EMAIL PROTECTED]> wrote:
begin quoting Mark Schoonover as of Tue, Jun 12, 2007 at 11:15:03AM -0700: > On 6/12/07, Stewart Stremler <[EMAIL PROTECTED]> wrote: > > > >begin quoting Mark Schoonover as of Tue, Jun 12, 2007 at 10:31:07AM > >-0700: > >[snip] > >> guu under vim will lowercase an entire sentence, with gUU uppercasing > > > >Don't you have an extra 'u' and 'U' in there? > > Nope, try it out. I did. The extra "u" "undid" my change. Ah... I had my text already selected. If you *don't* have text selected, you need the second 'u', and if you do, you don't. Nifty! > >everything... Don't know about entire blocks offhand... > > > >Well, use shift-V or control-V to select the block, and then use ~ to > >invert the case. > > Cool! Thanks for that one. You're welcome! -- And this is how we learn vi. Stewart Stremler
I've only been using vim for about 8 years, but I learn something new with weekly, if not daily. I tried to learn emacs not too long ago, but gave up on it - felt it was going to lead to carpal tunnel, banging on the ALT,CTRL keys... Not to start up a vim->emacs war... -- Mark Schoonover, CMDBA [EMAIL PROTECTED] Cell: 619-368-0099 Database/System Administration * Software Development * -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
