Last active
February 15, 2018 00:51
-
-
Save simonhaenisch/d130ebd1228e9ad315c270dd6632cd6a to your computer and use it in GitHub Desktop.
Sublime Text hotkey that triggers only when in a certain syntax #sublimetext
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"keys": ["f8"], | |
"command": "repl_open", | |
"args": { | |
"cmd": ["python", "-u", "$file_basename"], | |
"cwd": "$file_path", | |
"encoding": "utf8", | |
"extend_env": {"PYTHONIOENCODING": "utf-8"}, | |
"external_id": "python", | |
"type": "subprocess", | |
}, | |
"context": [ | |
{ | |
"key": "selector", | |
"operator": "equal", | |
"operand": "source.python", | |
} | |
], | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment