sublime text3 html文件浏览器上快捷打开方式,配

2017-02-17  本文已影响0人  WeekOne

找到 Preferences=>key Bindings 粘贴下方代码到,保存即可.

[

// Chrome 快捷方式 command +1

{ "keys": ["command+1"], "command": "side_bar_files_open_with",

"args": {

"paths": [],

"application": "/Applications/Google Chrome.app",

"extensions":".*"

}

},

/*{ "keys": ["command+r"], "command": "side_bar_files_open_with",

"args": {

"paths": [],

"application": "/Applications/Google Chrome.app",

"extensions":".*"

}

},*/

// Safari 快捷方式 command+2

{ "keys": ["command+2"], "command": "side_bar_files_open_with",

"args": {

"paths": [],

"application": "/Applications/Safari.app",

"extensions":".*"

}

},

// Firefox 快捷方式 command+3

{ "keys": ["command+3"], "command": "side_bar_files_open_with",

"args": {

"paths": [],

"application": "/Applications/Firefox.app",

"extensions":".*"

}

},

{ "keys": ["ctrl+t"],   //这个是python的配置方法 ctrl+t 运行控制台

"caption": "SublimeREPL: Python - RUN current file",

"command": "run_existing_window_command", "args":

{

"id": "repl_python_run",

"file": "config/Python/Main.sublime-menu"

}

}

]

上一篇下一篇

猜你喜欢

热点阅读