sublime text编辑器极其强大 ,但在刚开始用的时候,每次在浏览器中查看非得右键鼠标----”open in browser“,着实觉得麻烦。。。。百度之,上面的方法有很多,但是根据我自己的经验总结出下面的方法是最实用的。。。看图知一切:
具体操作方法如下:
1.点击”Preferences“------选择”按键绑定-用户“
2.复制下面内容到你上面打开的页面,请根据你自己的修改相应的快捷键及浏览器的路径
[
{ "keys": ["ctrl+shift+c"], "command": "copy_path" },
//firefox
{ "keys": ["f1"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "C:\\Users\\Administrator\\Mozilla Firefox\\firefox.exe",
"extensions":".*"
}
},
//chrome
{ "keys": ["f2"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
"extensions":".*"
}
},
//ie
{ "keys": ["f3"], "command": "side_bar_files_open_with",
"args": {
"paths": [],
"application":"C:\\Users\\Administrator\\Desktop\\Internet Explorer\\iexplore.exe",
"extensions":".*"
}
}
]
3.O啦~大功告成!