Try splitjoin.vim.

gS and gJ to split/join constructs to multiple/single lines.

Like Ruby conditionals, HTML elements.