After copying a "rectangle" using C-x r M-w
, doing C-x r y
yanks or pastes the rectangle. But that inserts the copied rectangle.
How can I paste the copied rectangle so that it overwrites the text?
Example:
a b c d e f g
h i j k▮l m n
o p q r s t u▮
I copied the rectangle enclosed between the cursor positions shown above using M-x copy-rectangle-as-kill
or C-x r M-w
.
Now when I paste it in front of the character h
using M-x yank-rectangle
or C-x r y
, I want the result to look like
a b c d e f g
▮l m n k l m n
s t u r s t u
instead of
a b c d e f g
▮l m n h i j k l m n
s t u o p q r s t u
How can I make the yank-rectangle
overwrite?
If that works then its going to be something in your configuration.
– Colin Bell Sep 24 '14 at 00:18C-x r y
to overwrite. I am editing my question now. – Kaushal Modi Sep 24 '14 at 01:12