0

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?

1
  • 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 :( Mar 7, 2014 at 12:22

1 Answer 1

0

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.

1
  • I would love to see better answers. Cause this answer is quite not satisfying for me. >_< Mar 7, 2014 at 18:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .