about summary refs log tree commit diff
path: root/Default (OSX).sublime-keymap
diff options
context:
space:
mode:
Diffstat (limited to 'Default (OSX).sublime-keymap')
-rw-r--r--Default (OSX).sublime-keymap13
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"
+    }
   }
 ]