What I want is:

  • Copy some part of text
  • Replace some other parts of text with copied part.

What I do is:

  • Make a selection: v
  • Yanking the selection: y
  • Making another selection: v
  • Paste the yanked text: p

But whenever I paste, it replaces current selection with old yanked selection, but copies the replaced (deleted) selection to register. How to make p just paste and do nothing more?

  • I think I could not make it much clear. Sorry for making it hard to understand. If you don't understand the question please ask in comments :( – user1857492 Mar 7 '14 at 12:22

Not very good answer but...

Instead of selecting and pasting (p):

  • move to beginning of selection to be replaced
  • paste
  • select unwanted selection
  • delete it using "delete to black-hole register" ("_d)

or vice versa, "delete to black-hole register", then paste.

  • I would love to see better answers. Cause this answer is quite not satisfying for me. >_< – user1857492 Mar 7 '14 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.