Sublime 菜单栏->Tools→New Snippet→输入以下内容:
<snippet>
<content><![CDATA[
<?php
// vim: set expandtab cindent tabstop=4 shiftwidth=4 fdm=marker:
// +----------------------------------------------------------------------+
// | The CompanyName Inc |
// +----------------------------------------------------------------------+
// | Copyright (c) 2013, CompanyName Inc. All rights reserved. |
// +----------------------------------------------------------------------+
// | Authors: The PHP Dev Team, XXX, CompanyName Inc. |
// | |
// +----------------------------------------------------------------------+
/**
* @version 1.0
* @author Tan
* @date
*/
]]></content>
<tabTrigger>phpheader</tabTrigger>
<description>phpheader</description>
</snippet>
然后保存文件名为phpheader.sublime-snippet,保存到指定路径。: