vim: added rewrite construct