Skip to content

Creating shortcuts for REPLs

AltIvan edited this page Dec 20, 2012 · 1 revision

To create key bindings for SublimeREPL you can write them in your Key Bindings file (Preferences>``Key Binding - User); there you can use run_existing_window_command with the ID and configuration file path as parameters.

Example using Node.js:

{ "keys": ["ctrl+,", "n"], "command":  "run_existing_window_command", "args":{
    "id": "repl_node",
    "file": "config/NodeJS/Main.sublime-menu"
}
Clone this wiki locally