sublime 浏览器快捷键配置


sublime 配置 及常用插件:http://blog.csdn.net/wirelessqa/article/details/8453739
Preference-defalut:

【将Tab键自动替换为4个空格】

// The number of spaces a tab is considered equal to
“tab_size”: 4,

// Set to true to insert spaces when tab is pressed
“translate_tabs_to_spaces”: true,

SideBarEnhancements是一个可以自定义打开方式快捷键的工具包。他可以定义不同的快捷键打开不同的浏览器

打开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 ]

 

转载于:https://www.cnblogs.com/ElvinLong/p/3928218.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值