## 1. 安装package control
快捷键: `Ctrl + 反撇号`, 然后在弹框中输入以下代码回车
~~~
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
~~~
## 2. 注册
~~~
----- BEGIN LICENSE -----
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
90F5CC94 1CDC92DC 8457107A F151657B
1D22E383 A997F016 42397640 33F41CFC
E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D
5CDB7036 E56DE1C0 EFCC0840 650CD3A6
B98FC99C 8FAC73EE D2B95564 DF450523
------ END LICENSE ------
~~~
## 3. Eclipce快捷键映射
菜单 -> preferences -> 按键绑定 - 用户
~~~
[{
"keys": ["shift+enter"],
"command": "run_macro_file",
"args": {
"file": "Packages/Default/Add Line.sublime-macro"
}
}, {
"keys": ["alt+up"],
"command": "swap_line_up"
}, {
"keys": ["alt+down"],
"command": "swap_line_down"
}, {
"keys": ["ctrl+alt+j"],
"command": "join_lines"
}, {
"keys": ["ctrl+alt+down"],
"command": "duplicate_line"
}, {
"keys": ["shift+ctrl+r"],
"command": "show_overlay",
"args": {
"overlay": "goto",
"show_files": true
}
}, {
"keys": ["ctrl+shift+s"],
"command": "save_all"
}, {
"keys": ["ctrl+l"],
"command": "show_overlay",
"args": {
"overlay": "goto",
"text": ":"
}
}, {
"keys": ["shift+ctrl+f4"],
"command": "close_all"
}, {
"keys": ["shift+ctrl+y"],
"command": "lower_case"
}, {
"keys": ["shift+ctrl+x"],
"command": "upper_case"
}, {
"keys": ["ctrl+d"],
"command": "run_macro_file",
"args": {
"file": "Packages/Default/Delete Line.sublime-macro"
}
}]
~~~
## 4. 汉化
运行SublimeText3
点击 菜单 Preferneces -> Browse Packages
会打开 X:\Program Files\Sublime Text\Data\Packages 目录,点击向上并找到X:\Program Files\Sublime Text\Data\Installed Packages目录,从附件中下载汉化包并解压,复制Default.sublime-package到这个目录,无需重启即可直接看到汉化效果。
[汉化包下载地址: http://img.xiumu.org/blog-uploads/2013/02/Sublime_Text_CN_3059.zip](http://img.xiumu.org/blog-uploads/2013/02/Sublime_Text_CN_3059.zip)
- Linux相关
- centos下源码安装redis的方法
- Nginx配置ThinkPHP的UrlRewrite和PathInfo模式
- Apache开启 .htaccess & url_rewrite & vhost
- Ubuntu安装服务器环境
- Virtual Box 和 Ubuntu Server 14.10 的共享文件
- ihavenolimitations.xyz服务器环境搭建
- Javascript相关
- Javascript导出Excel表格
- Javascript格式化时间戳
- 工具相关
- sublime text 3 安装后要做的事
- 测试
- NetBeans默认使用utf8编码打开文件方法
- sass安装
- less安装
- 各种查询
- 苹果常用软件的url schemes查询