Answer the question
In order to leave comments, you need to log in
How to assign hotkeys to execute native Sublime Text 3 plugin?
I'm trying to write my plugin for sublime text.
file is created:
import sublime
import sublime_plugin
class Myautotext(sublime_plugin.TextCommand):
def run(self, edit):
self.view.insert(edit, 0, "Hello, World!")
view.run_command('myautotext')
starts
with the command . { "keys": ["ctrl+*"], "command": "myautotext"}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question