最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

sublime text3 快速在浏览器中打开

运维笔记admin27浏览0评论

在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":".*"
   }
}

以上为路径的两种表示方式


发布评论

评论列表(0)

  1. 暂无评论