[email protected] wrote:
> I often use this sequence to swap to words:
>
> (goto first word) vey
> (goto second word) vep
> (go back to first word) vep
>
> works like a charm (its vim ;)
>
> but sometimes I want to copy one word over a couple of other
> words.

This copies a word then pastes it over other words:
  go to first word:   yiw
  go to second word:  viwp
  go to third word:   viw"0p
  go to next word:    viw"0p
  :help registers

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to