I have column of text like this:
Abba
Foo
Boo
M
and I want to transform it to:
Abba = Abba
Foo = Foo
Boo = Boo
M = M
I can add " = " to end column of text via C-x space
and M-x string-insert-rectangle
, also
I can copy column via vertical selection C-x space
,
but how I paste column to the right of another column?
multiple-cursors
library you can place a cursor at the beginning all lines in a selected region; then you can hold down the shift key and the alt key and move the arrow once to the right (which will select the word on each line; then you can hit the copy command (which should also deselect the region, if not then press C-g one time); then hit the space bar, type an = sign, then hit the space bar, and yank/paste. At this point you are done, and just hit the enter key to exit. – lawlist Sep 13 '18 at 19:21