On 2014-02-08 08:53, Peng Yu wrote: > 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. -tim -- -- 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.
