tools -> build system -> new build system 創(chuàng)建一個(gè)文件
{
"cmd": ["/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", "$file"],
"selector": "source.html"
}
保存,文件名為 browse.sublime-build 卫枝。這樣回到 index.html 掂榔,敲 Cmd-B 就可以在瀏覽器中打開(kāi)這個(gè)文件了疼蛾。