On 2014-02-08 09:10, 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 > > I'm not ':help \u' and ':help &' give me the correct help pages. Do > mind where to find help for them? Thanks.
:help s/\& :help s/\u Strangely, the help-target ":help s/\U" (upper-case "U") takes you to the same place as ":help s/\&" does rather than to the help on \U (at least in 7.3.547 which is stock on Debian Stable). Fortunately they're in the same block, but it looks like a bug in the help-tagging. -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.
