python sublime run快捷键设置

一、Ctrl+Shift+P进行插件“sublimeREPL”安装

二、打开preferences->Key Binding-User,写入以下内容
[ { "keys": ["f5"], "caption": "SublimeREPL:Python", "command": "run_existing_window_command", "args": { "id": "repl_python_run", "file": "config/Python/Main.sublime-menu" } }, ]
三、以后运行python代码只需要按“F5”就ok了
原文地址:https://www.cnblogs.com/smuxiaolei/p/7503751.html