## 1.安裝插件包package control
[https://packagecontrol.io/installation\#st3](https://packagecontrol.io/installation#st3)

a.點擊[view](/view)之后點擊[show console](/show console),顯示控制條
b.在控制臺中粘貼以下代碼
```
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
```
## 2.安裝[前端插件](https://github.com/zhiqiang21/blog/issues/10)
[https://github.com/zhiqiang21/blog/issues/10](https://github.com/zhiqiang21/blog/issues/10)
## 3.設置快捷鍵

點擊Preferences——之后點擊key Bindings,將以下代碼粘貼進去
```
[
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
{ "keys": ["alt+/"], "command": "auto_complete" },//自動提示
{ "keys": ["alt+up"], "command": "swap_line_up" },//整行上移
{ "keys": ["alt+down"], "command": "swap_line_down" },//整行下移
{ "keys": ["alt+left"], "command": "jump_back" },//跳轉到上一個編輯處
{ "keys": ["alt+right"], "command": "jump_forward" },
{ "keys": ["ctrl+alt+j"], "command": "join_lines" },
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },//整行刪除
{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": //搜索全文
"find_in_files"} },
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["ctrl+o"], "command": "show_overlay", "args": {"overlay": //跳轉到當前的某個方法
"goto", "text": "@"} },
{ "keys": ["ctrl+up"], "command": "goto_definition" },//跳轉到定義,比如在某個函數上按此鍵,則跳轉到它的定義。
{ "keys": ["ctrl+down"], "command": "find_under_prev" },//選中光標所在的變量或者函數,非常有用
{ "keys": ["ctrl+alt+down"], "command": "duplicate_line" },//向下復制整行
{"keys": ["ctrl+shift+l"], "command": "reindent" , "args":{"single_line": //格式化代碼,當然也可以利用html+css+js prettify插件來格式化
false}},
{ "keys": ["ctrl+shift+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["ctrl+shift+s"], "command": "save_all" },
{ "keys": ["ctrl+shift+f4"], "command": "close_all" },
{ "keys": ["ctrl+shift+y"], "command": "lower_case" },
{ "keys": ["ctrl+shift+x"], "command": "upper_case" } ,
{ "keys": ["ctrl+w"], "command": "open_in_browser" }/*在瀏覽器中打開的快捷鍵*/
]
```
- Introduction
- 1.配置sublime
- 1.1sublime配置sass
- 1.2sublime配置less
- 2.webstrom配置sass
- 3.vscode前端開發環境配置
- 4.git補充教程
- sass安裝環境的配置:
- 部署網站(域名解析到服務器)
- 字體壓縮
- jshint(js錯誤提示)
- 格式轉換器
- sourceTree
- 配置接口
- Java環境變量
- 激活
- 大白菜裝機
- 真機調試
- 彩色字
- docsify配置和使用
- vscode插件安裝
- git分支管理
- 更換遠程倉庫地址
- fork項目
- 獲取全部分支
- git 開發管理
- git 代碼提示
- git 常用操作
- 預提交問題
- vpn
- 禪道
- 藍湖
- px to rem 插件
- 插件同步
- 項目代碼格式校驗
- 在全局配置的文件可以直接使用process.env訪問到
- 快捷鍵設置
- 安裝node-sass
- 使用yarn commit 提交代碼
- vscode 開啟大小寫敏感
- vscode插件換位置
- 清除vscode
- vscode 配置
- 全局安裝的插件無法使用,說的是什么禁止運行腳本??
- mac配置ssh
- git 配置郵箱/用戶名
- 終端查找文件
- vscode外觀設置
- 大數據學習路線
- mac
- 裝nvm,node包管理工具