I am in a PHP document. I type php[tab] and it expands to <?php | ?>
(where | is the cursor).
With my cursor inside the PHP tags, I would like php[tab] to close and reopen the PHP tags, like this: ?>|<?php
This behavior is default in TextMate but doesn’t seem to be active in my SublimeText installation. How can I implement it?