How can I use something like this?
:g/^$/kJ
Here kJ are two teams, not just one (e.g. 'd')
My specific example: I have several lines similar to
queryBuilder .append("xyz");
and I want them to look like this:
queryBuilder.append("xyz");
So what I want to do for each row
:g/^[\t]*\..*$/kJx
which matches the correct pattern, but seems to only execute k.
Are there other vim commands? How would you complete this task?
source share