sublime text3配置html环境

时间:2020-04-15 19:51:11   收藏:0   阅读:99

1、安装View in Browser

2、配置快捷键

[1]Preferences—Key Bindings—User.

[2]插入代码
 1 [
 2 //ie
 3     {
 4         "keys": ["f2"],
 5         "command": "side_bar_files_open_with",
 6         "args": {
 7             "paths": [],
 8             "application": "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
 9             "extensions": ".*"
10         }
11     },
12 //chorme
13      {
14         "keys": ["f1"],
15         "command": "side_bar_files_open_with",
16         "args": {
17             "paths": [],
18             "application": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
19             "extensions": ".*"
20         }
21     }
22 ]

 


其中“keys”是指定快捷键,替换成自己想要的。
application是你浏览器在电脑上的目录地址,替换了就OK了。注意是双斜杠\\。
[3]保存。

 

原文:https://www.cnblogs.com/andrew-address/p/12707110.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!