sublime text3 浏览器预览设置

Sublime Text3浏览器 预览设置

  • 安装SideBarEnhancements插件
  • 设置浏览器预览热键 Preference–>Package Settings–>Side Bar–>Key Bindings-Users
[
//chrome
   {
       "keys": ["f1"],
       "command": "side_bar_files_open_with",
       "args": {
           "paths": [],
           //"application": "C:\\Users\\Administrator\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe",

           "extensions": ".*"
       }
   },   
   //firefox
    {
       "keys": ["f2"],//设置热键
       "command": "side_bar_files_open_with",//调用插件打开文件命令
       "args": {
           "paths": [],
           "application": "D:\\Sofa\\firefox_D\\firefox.exe",//浏览器位置
           "extensions": ".*"
       }
   },
   //ie
    {
       "keys": ["f3"],
       "command": "side_bar_files_open_with",
       "args": {
           "paths": [],
           "application": "C:\\Program Files\\Internet Explorer\\iexplore.exe",
           "extensions": ".*"
       }
   },
]

重启sublime后 就可以热键打开了

你可能感兴趣的:(sublime text3 浏览器预览设置)