>> I need to capitalize the first letter of each word within a visual
>> block. Is there a quick way to do it vim? Thanks.
>
> You might try
>
>   :'<,'>s/\%V\<./\u&/g
>
> which could be easily mapped if you do it frequently.

I'm not ':help \u' and ':help &' give me the correct help pages. Do
mind where to find help for them? Thanks.


-- 
Regards,
Peng

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to