On Thursday, 07 February, 2013 at 08:35:43 GMT, Eric Smith wrote:
>This command will look to see if the character
>immediately to the left of the cursor belongs
>to a certain character class (like \w)
>and then inserts a `.' and a newline.
>
>Then it is easy for me to check if this was what I want or not
>and delete the period (full atop) if necessary and then press
>arrow-down to avoid triggering the iabbr again.
>
>How could this be implemented as efficiently as possible?
You can put "c" after a search-and-replace, and Vim will ask for confirmation for each match, eg.:
%s/(\w)$/\1./c
--
.
--
--
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.
Thursday, February 7, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment