I have a file with a bunch of lines like
word "|some crap is here"
and I want to make it like
word word@something.com
if I do something like -- :s/"|.*/something.com/ -- it's close but I need a way to also (ye) yank and (p) paste the "word" part in within the replace. I guess the yank has to happen outside of the search though... How can I do this?
word "|some crap is here"
and I want to make it like
word word@something.com
if I do something like -- :s/"|.*/something.com/ -- it's close but I need a way to also (ye) yank and (p) paste the "word" part in within the replace. I guess the yank has to happen outside of the search though... How can I do this?