打开sublime :
Preferences>按钮绑定-用户
然后复制下面代码 保存 重新打开sublime 就能按F1-火狐 F2-Chrome F3-IE 快捷键在浏览器打开当前文件
1 [ 2 { "keys": ["ctrl+shift+c"], "command": "copy_path" }, 3 //firefox 4 { "keys": ["f1"], "command": "side_bar_files_open_with", 5 "args": { 6 "paths": [], 7 "application": "C:\\Program Files\\Mozilla Firefox\\firefox.exe", /*firefox安装文件目录*/ 8 "extensions":".*" //匹配任何文件类型 9 } 10 }, 11 //chrome 12 { "keys": ["f2"], "command": "side_bar_files_open_with", 13 "args": { 14 "paths": [], 15 "application": "D:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",/*chrome安装文件目录*/ 16 "extensions":".*" 17 } 18 }, 19 //ie 20 { "keys": ["f3"], "command": "side_bar_files_open_with", 21 "args": { 22 "paths": [], 23 "application": "D:\\Program Files\\Internet Explorer\\iexplore.exe",/*IE安装文件目录*/ 24 "extensions":".*" 25 } 26 }, 27 { "keys": ["ctrl+alt+shift+p"], "command": "autoprefixer" } 28 29 ]
sublime 浏览器快捷键配置,布布扣,bubuko.com
原文:http://www.cnblogs.com/ElvinLong/p/3928218.html