Inserting a newline before lines matching a pattern, e.g. before comments #:

:g/^#/norm O

http://stackoverflow.com/a/2673266/255528