" Simple re-format for minified Javascript
command! UnMinify call UnMinify()
function! UnMinify()
%s/{ze[^rn]/{r/g
%s/){/) {/g
%s/};?ze[^rn]/ r/g
%s/;ze[^rn]/;r/g
%s/[^s]zs[=&|]+ze[^s]/ /g
normal ggVG=
endfunction
Adicione ao seu vimrc!