在sublime text 中,快速在浏览器中打开文件
1.在文件中点击右键 view in borwser (前提是先安装view in browser插件)
设置ctrl+b在浏览器中快速打开
步骤:Preferences ==> Key bindings
{"keys":["ctrl+b"], "command":"side_bar_files_open_with"},
2.SideBarEnhancements 插件
此插件不仅加强了左侧栏的功能,还可以自定义不同浏览器中预览的快捷键,配置格式如下:
设置各自打开的快捷方式
// chrome
{
"keys":["f12"], "command":"side_bar_files_open_with",
"args":{
"paths":[],
"application":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
"extensions":".*"
}
},//firefox
{
"keys":["ctrl+f12"], "command":"side_bar_files_open_with",
"args":{
"paths":[],
"application":"D:/Program Files/Mozilla Firefox/firefox.exe",
"extensions":".*"
}
}
以上为路径的两种表示方式
SublimeText快速预览
本文介绍如何在SublimeText中使用ViewInBrowser插件及SideBarEnhancements插件实现文件的快速预览,并设置了不同的浏览器快捷键。
317

被折叠的 条评论
为什么被折叠?



