From 3fe3a44c225f4cc3edf44024d10ab9349f1117b5 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 23 Jun 2016 10:45:43 -0400 Subject: [PATCH] Updates keybinding to support REPL --- Default (OSX).sublime-keymap | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Default (OSX).sublime-keymap b/Default (OSX).sublime-keymap index fc789ca63..3ab1306b2 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" + } } ]