complete twp consecutive words

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

complete twp consecutive words

Bee-16
Is it possible to complete 2 consecutive words?
That is match the first and include the second?

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: complete twp consecutive words

Erik Christiansen
On 02.08.17 21:16, Bee wrote:
> Is it possible to complete 2 consecutive words?
> That is match the first and include the second?

That first becomes useful when repeated, so '.' is perhaps the quickest
and easiest solution: Find the first word (or the pair), c2w<replacement>,
then hit 'n' for next match, and '.' for repeat replacement. With a
finger on each key, the replacements can be conditionally be made as
fast as you can decide to replace or skip.

If that is too simple, then ":help q" describes the mechanics of a
complex-repeat. Its greater complexity is more warranted when the text
manipulation is more complex.

Erik

--
--
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...