subtext3插件安装
1.启用Package Control,利用它进行插件安装;
启用方法:菜单栏-view-show console
在弹出的输入框内,输入以下代码,按回车,稍后会出现package control安装成功的提示框,点击确定
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp)
2.ctrl-shift-p 输入install, 回车,输入要安装的插件名,点击即可自行安装
3.浏览器快捷键设置
Preferences—Key Bindings—User.
在弹出的空白页里输入以下内容:
[
//ie
{
"keys": ["f2"],//指定快捷键
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",//浏览器安装地址
"extensions": ".*"
}
},
//chorme
{
"keys": ["f1"],
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
"extensions": ".*"
}
}
]
参考文章:http://www.daqianduan.com/4820.html