Restructure as om-insert-mode, active only while editing an inserted template