Sublime Text添加插入带当前时间作者详细说明
Created at 2016-06-03 Updated at 2017-01-06 Category 工欲善其事必先利其器
创建插件:
Tools → New Plugin:
|
|
保存为Sublime Text 2\Packages\User\ addInfo.py
创建快捷键:
Preference → Key Bindings - User:
|
|
此时使用快捷键 ctrl+shift+, 即可在当前光标处插入当前时间,如下:
Created at 2016-06-03 Updated at 2017-01-06 Category 工欲善其事必先利其器 Tag sublime
Tools → New Plugin:
|
|
保存为Sublime Text 2\Packages\User\ addInfo.py
Preference → Key Bindings - User:
|
|
此时使用快捷键 ctrl+shift+, 即可在当前光标处插入当前时间,如下: