Loading ...
Sorry, an error occurred while loading the content.

141173Re: How to capitalize the first letter of each word?

Expand Messages
  • Peng Yu
    Feb 8, 2014
      >> 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.


      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 vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 9 messages in this topic