1 2 3 4 5 6 7 8
# Merge adjacent blank lines. Loop til no change. :blin /^$/,/^ *[^ ]*.*$/{ /^$/N s/^ *\n *$// } t blin