sublime text3 中设置默认浏览器,并且设置快捷键

时间:2021-02-03 16:52:43

MAC 系统下设置浏览器快捷键,windows同理


1、打开packageControl   对应快捷键  command + shift + p

2、输入install package

3、安装插件 SideBarEnhancements

4.安装了open_in_browser的插件

5、打开Settings-Default


6、找到:"default_browser": "", //one of this list: firefox, chrome, canary, chromium, opera, safari, ie
7、再打开Settings-User 添加  {
    "default_browser": "chrome", //one of this list: firefox, chrome, canary, chromium, opera, safari, ie

}


8、preferences中  打开KeyBindings右侧添加          {
            "keys": ["command+r"], "command": "side_bar_open_in_browser"
        },
        {
            "keys": ["command+/"],"command": "toggle_side_bar"
        }