Thursday, August 3, 2017

Re: complete twp consecutive words

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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment