I have an input text as follows –
(command (and (A B C) ))
(command (and (D E F) ))
(command (and (G H I) ))
...
...
I would like to copy and paste part of text on the same line as
(command (and (A B C) (A B C)))
(command (and (D E F) (D E F)))
(command (and (G H I) (G H I)))
...
...
Will it be possible to do it using VI Editor automatically?
Update :
I think I missed one important point that the values A,B,C … I… can have variable length. I just used them as symbols.
Thanks !
I combine the techniques given by bmearns and Kev.
So what I did is as follows
q.qto stop recording the macroAnd it worked just completely fine !
Thanks a lot guys !