SideBarEnhancements 側邊欄加強chrome
SideBarEnhancements本是加強側邊欄的插件,這裏將教你們如何用來作sublime text 3瀏覽器預覽插件,並可自定義瀏覽器預覽的快捷鍵。瀏覽器
{ "keys": ["ctrl+shift+c"], "command": "copy_path" },
//瀏覽器預覽 //谷歌 F12
{ "keys": ["f12"],
"command": "side_bar_files_open_with",
"args": { "paths": [],
"application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"extensions": ".*" } },
//火狐瀏覽器 F11
{ "keys": ["f11"],
"command": "side_bar_files_open_with",
"args": { "paths": [],
"application": "C:\\Program Files\\Mozilla Firefox\\firefox.exe",
"extensions": ".*" } }
安裝此插件,點擊工具欄的preferences > package setting > side bar > Key Building-User,鍵入如下代碼,這裏設置按Ctrl+Shift+C複製文件路徑,按F十一、F12分別在firefox,chrome瀏覽器預覽效果,固然你也能夠本身定義喜歡的快捷鍵,最後注意代碼中的瀏覽器路徑要以本身電腦裏的文件路徑爲準。app