sublime text 3 设置在不同浏览器中运行的快捷方式
2015-05-17 20:52
501 查看
自从遇到sublime text 后,一下子就喜欢上了这款软件,强大的插件支持功能,真的让人爱不释手!可是,不得不说,它有一个小缺点,就是只能在默认的浏览器中打开(貌似也没有插件可以解决这个问题(个人拙见))。。不知道别人怎么想,反正强迫症的我是有些容忍不了,,花了不少时间,终于解决了这个问题,下面就来看看怎么设置不同浏览器运行的快捷方式吧!
安装 SideBarEnhancements插件后,打开sublime text 3 ,Preferences->Key Bindings-User,在打开的窗口中输入如下代码(我的浏览器设置):
保存后重启。现在你的html文件就可以用自己设置的快捷键在不同的浏览器中运行了!!
安装 SideBarEnhancements插件后,打开sublime text 3 ,Preferences->Key Bindings-User,在打开的窗口中输入如下代码(我的浏览器设置):
[ { "keys": ["ctrl+shift+c"], "command": "copy_path" }, // { "keys": ["alt+f12"], "command": "open_in_browser" },//默认浏览器打开 { "keys": ["ctrl+fn+f1"], "command": "side_bar_files_open_with", // ctrl+fn+f1在firefox中打开 "args": { "paths": [], "application": "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe", "extensions":".*" //any file with extension } }, { "keys": ["ctrl+fn+f2"], "command": "side_bar_files_open_with", // ctrl+fn+f2在chrome中打开 "args": { "paths": [], "application": "C:\\Users\\lenovo\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", "extensions":".*" //any file with extension } }, { "keys": ["ctrl+fn+f3"], "command": "side_bar_files_open_with", // ctrl+fn+f3在ie中打开 "args": { "paths": [], "application": "C:\\Program Files\\Internet Explorer\\iexplore.exe", "extensions":".*" //any file with extension } }, { "keys": ["ctrl+fn+f4"], "command": "side_bar_files_open_with", // ctrl+fn+f4在UC browser中打开 "args": { "paths": [], "application": "F:\\software\\UCBrowser\\Application\\UCBrowser.exe", "extensions":".*" //any file with extension } } ]
保存后重启。现在你的html文件就可以用自己设置的快捷键在不同的浏览器中运行了!!
相关文章推荐
- 如何在sublime text 中设置快捷键 运行浏览器
- 快捷方式错误导致浏览器软件无法正常运行
- Sublime text 设置快捷键让html文件在浏览器中打开
- 使用url快捷方式 打开不同的浏览器
- Sublime text如何设置快捷键让编写的HTML文件在浏览器预览?
- Sublime text配置快捷方式打浏览器
- 设置快捷方式相对路径,让批处理后台运行
- 设置程序开机运行并添加快捷方式、启用、结束线程
- 设置了width和height的a元素在IE11与IE11以下浏览器中的不同渲染方式
- Sublime Text设置快捷键让html文件在浏览器打开
- mac 下设置 sublime text2 的命令行快捷方式 subl
- 在notepad++中直接运行python代码快捷方式设置
- ie设置默认,打开快捷方式会弹出2个浏览器网页
- Sublime text 设置快捷键让html文件在浏览器中打开
- Sublime Text3 快捷键汇总及设置快捷键配置环境变量
- 怎么设置桌面关机的快捷方式
- 警告1946。无法设置快捷方式"VMware Workstation.Ink"的属性"System.AppUserModel.ID"。多人亲测,完美解决
- 如何设置Hyper-V的虚拟机快捷方式
- qt之设置快捷方式
- 不同浏览器URL编码方式