f /* move to first < and insert space */ o /* insert new line */ jf{i /* insert new line before { */ w. /* repeat to insert new line before puts */ f;a /* insert new line after ; */ ;. /* repeat last f search, repeat append */ ki /* move line up, insert space */ 3. /* insert 3 more spaces (TODO: implement [count]i ?) */ k^4. /* move line up, insert 4 spaces */