I need to repeatedly copy text from a fixed size rectangular region and I’d like to be able to save the shape of that rectangular region in a register so I don’t have to keep re-creating the same size.
-
cua-set-rectangle-mark(<C-return>) -
Move point to create a region 8×16 (note: this is the step I want to remove)
-
piture-clear-rectangle(C-c C-k) -
Move point to new location.
-
picture-yank-rectangle(C-c C-y)
I’d like to replace steps 1 and 2 with a single ‘paste rectangular region from register’ command. Is this possible?
Wouldn’t it be easier to simply use a keyboard macro for this?
E.g.:-
Then