I have some text like:
INPUT ID : <other stuff> NEWS : maybe blank PROFILE : who knows DEL : xxx END;
Then somewhere else I want to put:
Begin <stuff> create tables ID NEWS PROFILE DEL; Execute;
The Begin and Execute lines are already there, I'd like to create the
create tables...; line.
What I tried so far is yanking the text, then I recorded a macro where I
create a new line, insert create tables,
ma to set a mark (which I don't use often so there are no other marks in the doc), used
:put! " to paste the selection with each element on it's own line,
'a to return to the mark, then
A, and finally add the semicolon.
This works while recording, but doesn't work while replaying. It seems the mark doesn't set even if I
:delmarks a after running it.