Lets say that i have this text:
$test = \'lorem\'; $test2= \'ipsum\';
and I want to copy lorem and paste into ipsum. I tried to do yi\' on lor
yi\'
I usually go to the sed command.
:%s/ipsum/lorem/g
%
s
g
ipsum
lorem