subline应用之python

一交互式命令操作快捷键:在安装SublimeREPL插件后,CTRL+~/CTRL+B分别在命令行交互式和编译模式之间进行选择。

为SublimeREPL配置快捷键(每次运行程序必须用鼠标去点工具栏-SublimeREPL-python),设置方法在偏好--键绑定–用户中输入:

[ {"keys":["f5"],
    "caption": "SublimeREPL: Python - RUN current file",
    "command": "run_existing_window_command", "args":
    {
        "id": "repl_python_run",
        "file": "config/Python/Main.sublime-menu"
    }}
]

这样定义了Python - RUN current file的快捷键,我在这里使用的是F5
原文地址:https://www.cnblogs.com/jieruishu/p/7211367.html