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

找到 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"

}

}

]

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容