Article Directory
ref
https://www.cnblogs.com/qiyeboy/p/5966353.html
code
import sublime
import sublime_plugin
class ExampleCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.insert(edit, 0, "Hello, World!")
Third, bind shortcuts
official doc:
http://www.sublimetext.com/docs/3/api_reference.html