SublimeREPL 用快捷键来运行python脚本

2015-10-22  本文已影响137人  leoatchina

配置user.keybiding

[ 
{   
    "keys": ["f9"],  
    "command": "repl_open", 
    "id": "repl_python_run", 
    "mnemonic": "d", 
    "args":{ 
        "type": "subprocess", 
        "encoding": "utf8", 
        "cmd": ["python", "-u", "$file_basename"], 
        "cwd": "$file_path", 
        "syntax": "Packages/Python/Python.tmLanguage", 
        "external_id": "python" 
    } 
}  
]
上一篇 下一篇

猜你喜欢

热点阅读