Tuesday, February 5, 2013

Re: Function to put full stop at the end of my sentences

%s/\v(\w)$/\1./   - find any line ending in an alphanumeric, and replace it with that same alpha and a period.


On Tue, Feb 5, 2013 at 3:29 PM, Eric Smith <es@fruitcom.com> wrote:
Hi

Do you have a suggestion for an (efficient) function to put a dot
after every combination of an alphanumeric char and a newline?

I just got tired of doing it manually the last days.

Thanks

Eric Smith

--
--
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/groups/opt_out.



--
--
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/groups/opt_out.
 
 

No comments: