Yes, you can. First you need to find the name of the python function that does this. For the SublimeStata Enhanced package, it corresponds to the text_2_stataCommand function in the text_2_stata.py file.
Secondly, you need to add a shortcut for this function to the custom Key Binding file, where you put the function name in the command field (the suffix command must be removed and the delimiters are indicated with an underscore instead of uppercase letters).
{ "keys": ["super+shift+b"], "command":"text_2_stata", "context": [ {"key": "selector", "operator": "equal", "operand": "source.stata"},] },
Matthew
source share