Support an environment variable $TM_DEFAULT_TAG, which will be used as the tag if there is no current word. It will fall back to “p” if the variable is not set, so standard behaviour in HTML is unchanged. Changed: U trunk/Bundles/HTML.tmbundle/Commands/Insert Tag Pair.plist