diff options
author | William Carroll <wpcarro@gmail.com> | 2016-06-23T14·45-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2016-06-23T14·45-0400 |
commit | 3fe3a44c225f4cc3edf44024d10ab9349f1117b5 (patch) | |
tree | 3fcc8eee117383f1dff24211fb9667101ecc09a9 /Default (OSX).sublime-keymap | |
parent | c5afe9c666afc60e66ffa375ee95132e728d98a2 (diff) |
Updates keybinding to support REPL
Diffstat (limited to 'Default (OSX).sublime-keymap')
-rw-r--r-- | Default (OSX).sublime-keymap | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Default (OSX).sublime-keymap b/Default (OSX).sublime-keymap index fc789ca63c50..3ab1306b2dc4 100644 --- a/Default (OSX).sublime-keymap +++ b/Default (OSX).sublime-keymap @@ -23,5 +23,18 @@ { "keys": ["super+shift+o"], "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" + } } ] |