1. 程式人生 > >sublime text3 設定預設遊覽器

sublime text3 設定預設遊覽器

1,安裝SideBarEnhancements 外掛
2 , 開啟 ” Preference –> Package Settings –> Side Bar –> Settings User-User” ,在開啟的檔案中新增:

{
  "default_browser": "chrome" //one of this list: firefox, aurora, chrome, canary, chromium, opera, safari
}

3,開啟 “Preference –> Package Settings –> Side Bar –> key Bindings-User”,在開啟的檔案中新增如下內容:

[
{
        "keys": ["f2"],
        "command": "side_bar_open_in_browser",
        "args": {
                    "paths": [],
                    "type": "testing",
                    "browser": ""
                }
    }
]

設定了chrome遊覽器的快捷鍵為f2