Jeri Raye wrote:
> 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.
:%s/\.\_s*\zs\l/\u&/gc
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.
No comments:
Post a Comment