Reputation: 1
Is there a shortcut to open Ipython from sublimerepl
Upvotes: 0
Views: 87
Reputation: 25
Yes, there is a shortcut to open the Python interactive console with SublimeREPL. On Windows, the shortcut is Ctrl+Shift+C, and on Mac, it is Cmd+Shift+C.
You can also create a custom shortcut by going to the Preferences menu and selecting Keybindings. Then, add a new keybinding with the desired shortcut and the command repl_open, which opens the interactive console. The keybinding should look like this:
{ "keys": ["your_shortcut"], "command": "repl_open", "args": {"type": "subprocess", "encoding": "utf8", "cmd": ["python", "-i", "-u"], "cwd": "$file_path", "syntax": "Packages/Python/Python.tmLanguage", "external_id": "python"} }
Note that you need to replace "your_shortcut" with the shortcut you want to use.
Upvotes: 0