Put this in .vimrc
fun! Four2Two() range
'<,'>s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g
norm!gv
endfun
Select the code V
and apply it by :'<,'>call Four2Two()
Put this in .vimrc
fun! Four2Two() range
'<,'>s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g
norm!gv
endfun
Select the code V
and apply it by :'<,'>call Four2Two()