diff options
-rw-r--r-- | Default (OSX).sublime-keymap | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Default (OSX).sublime-keymap b/Default (OSX).sublime-keymap index 3ab1306b2dc4..419051131cee 100644 --- a/Default (OSX).sublime-keymap +++ b/Default (OSX).sublime-keymap @@ -25,7 +25,7 @@ "command": "reveal_in_side_bar" }, { - "keys": ["super+shift+r"], + "keys": ["super+shift+r","p"], "command": "repl_open", "args": { "cmd": ["python", "-i", "-u"], @@ -36,5 +36,23 @@ "syntax": "Packages/Python/Python.tmLanguage", "type": "subprocess" } + }, + { + "keys": ["super+shift+r","j","s"], + "command": "repl_open", + "args": { + "autocomplete_server": true, + "cmd": { + "linux": ["node", "${packages}/SublimeREPL/config/NodeJS/repl.js"], + "osx": ["node", "${packages}/SublimeREPL/config/NodeJS/repl.js"], + "windows": ["node.exe", "${packages}/SublimeREPL/config/NodeJS/repl.js"] + }, + "cwd": "$file_path", + "encoding": "utf8", + "extend_env": { "NODE_NO_READLINE": 1 }, + "external_id": "js", + "syntax": "Packages/JavaScript/JavaScript.tmLanguage", + "type": "subprocess" + } } ] |