Hi John,
What is the meaning of the & in the \u&?On Mon, Apr 14, 2014 at 11:55 AM, John Beckett <johnb.beckett@gmail.com> wrote:
Jeri Raye wrote::%s/\.\_s*\zs\l/\u&/gc
> For example:
> I want to tell you this. and also this.
>
> How to change this into:
> I want to tell you this. And also this.
Perhaps sentences end with other characters, so you might try:
:%s/[.!?]\_s*\zs\l/\u&/gc
John
--
--
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@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment