> I have a list which contains uppercase and lower case letters.
> How can I change everything to lowercase.

You can use the "gu" command with a motion such as

   ggguG

(gg = go to the top of the file, gu = make lowercase, G = until 
the end of the file)

Or you can visually select the block and press "u".

Or if there are no paragraph breaks in the desired text, you can 
use a text object:

   guip

Or, if you want to do it in a script, you can use

  :%s/.*/\L&

Ah, so many ways with Vim :)

-tim





--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to