1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# blank-line activity: # Merge adjacent blank lines. Loop til no change. :blin /^$/,/^ *[^ ]*.*$/{ /^$/N s/^ *\n *$// } t blin # /^$/,/^ *[^ ]*.*$/{ /^$/N # Transpose <blank line> <end comment> /^ *\n\*\/$/c\ *\/\ }