在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":".*" } }
以上为路径的两种表示方式
在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":".*" } }
以上为路径的两种表示方式