for anyone interested in what would be the macro for doing this, let's say we have this lines:
this line
this other line
this line also
First, we move to the first line and type qa this will begin recording the macro (you will see at the bottom recording @a), then we type A;<ESC>jq, the q at the end will end the recording of the macro, and the macro that got recorded was A;<ESC>j.
After that to repeat the macro we type @a (and after that first one we can continue with @@ if we want).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
for anyone interested in what would be the macro for doing this, let's say we have this lines:
First, we move to the first line and type
qa
this will begin recording the macro (you will see at the bottomrecording @a
), then we typeA;<ESC>jq
, theq
at the end will end the recording of the macro, and the macro that got recorded wasA;<ESC>j
.After that to repeat the macro we type
@a
(and after that first one we can continue with@@
if we want).