Updates keybinding to support REPL
This commit is contained in:
parent
c5afe9c666
commit
3fe3a44c22
1 changed files with 13 additions and 0 deletions
|
@ -23,5 +23,18 @@
|
||||||
{
|
{
|
||||||
"keys": ["super+shift+o"],
|
"keys": ["super+shift+o"],
|
||||||
"command": "reveal_in_side_bar"
|
"command": "reveal_in_side_bar"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["super+shift+r"],
|
||||||
|
"command": "repl_open",
|
||||||
|
"args": {
|
||||||
|
"cmd": ["python", "-i", "-u"],
|
||||||
|
"cwd": "$file_path",
|
||||||
|
"encoding": "utf8",
|
||||||
|
"extend_env": { "PYTHONIOENCODING": "utf-8" },
|
||||||
|
"external_id": "python",
|
||||||
|
"syntax": "Packages/Python/Python.tmLanguage",
|
||||||
|
"type": "subprocess"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue