├── README.md └── public ├── images └── serach.jpg └── theme └── Monokai.tmTheme /README.md: -------------------------------------------------------------------------------- 1 | # [sublime text Download](http://www.sublimetext.com/dev) 2 | 3 | 改版过的`Monokai`,在仓库中根目录`Monokai.tmTheme`自取。windows用户放在:`C:\Users\Username\AppData\Roaming\Sublime Text 3\Packages\Monokai.tmTheme` 4 | 5 | ## Video 6 | 7 | - 大城小胖 [视频介绍](http://v.youku.com/v_show/id_XMzU5NzQ5ODgw.html) 8 | - happypeter [快乐的sublime编辑器](http://www.imooc.com/learn/333) 9 | - GreenBoots [前端开发工具技巧介绍—Sublime篇](http://www.imooc.com/learn/40) 10 | 11 | ## QQ Group 12 | * 492107297 偏前端开发(css,javascript,jquery) 13 | 14 | ## License 15 | 原则上收费的,但可以试用,试用期是免费的,在试用期间会提示你购买。 16 | ## Plugins 17 | 插件有很多,但不建议全部都安装,用到那个安装那个,安装过多,由于插件质量良莠不齐,会使软件本身不稳定,经常挂掉。 18 | 19 | 1. [Emmet Git](https://github.com/emmetio/emmet),[Document](http://docs.emmet.io/)原名为:`Zencoding, 快速生成html,css`,默认扩展快捷为`tab`,如果`tab`按钮损坏,`ctrl+e`替换。 20 | 生成规则在: 21 | 22 | Preferences -> Browser packages -> Emment -> emment -> snippets.json 23 | 中修改。 24 | 25 | [@ Emmet 中文版文档](http://www.iteye.com/news/27580) 26 | 2. [Side Bar](https://github.com/titoBouzout/SideBarEnhancements)`增强的侧边栏` 27 | 3. [Docblockr](https://github.com/spadgos/sublime-jsdocs)`增强js注释` 28 | 4. [Alignment](https://github.com/wbond/sublime_alignment)`等号对齐` 29 | 在`Preferences -> package settings -> Alignment -> Settings User`添加冒号对齐。 30 | 31 | { 32 | "align_indent": false, 33 | "alignment_chars": ["=", ":"], 34 | "alignment_space_chars": ["=", ":"] 35 | } 36 | 37 | 5. [AutoFileName](https://github.com/BoundInCode/AutoFileName): `文件路径自动提示` 38 | 6. [gbk支持 GBK Encoding Support](https://github.com/akira-cn/sublime-gbk) 39 | 7. [检测快捷键冲突](http://www.welefen.com/keymapmanager-add-check-plugins-keymap-conflict-feature.html) 40 | 8. Markdown 41 | - [markdown](https://github.com/revolunet/sublimetext-markdown-preview) 42 | 43 | 9. [LineEndings 设置换行符](https://github.com/SublimeText/LineEndings) 44 | 10. [SublimeText插件列表](https://sublime.wbond.net/) 45 | 11. [html美化插件](https://github.com/rehorn/sublime-htmlbeautify) 46 | 12. [Sublime Text 新建文件的模版插件: SublimeTmpl](http://www.fantxi.com/blog/archives/sublime-template-engine-sublimetmpl/) 47 | 13. [前端自动化神器LiveReload配合浏览器和less/sass使用方法](http://www.cnblogs.com/liu-l/p/3902100.html) 48 | 14. [使用 Sublime Text 2 开发 Unity3D 项目](http://www.cnblogs.com/yili16438/p/3721896.html) 49 | 15. [全栈开发必备的10款 Sublime Text 插件](http://www.cnblogs.com/lhb25/p/10-essential-sublime-text-plugins.html) 50 | 16. 其它语言框架支持 51 | 52 | - JavaScript 53 | 54 | - [nodejs snippets and bindings for Sublime Text 2](https://github.com/tanepiper/SublimeText-Nodejs) 55 | - [AngularJS-sublime-package](https://github.com/angular-ui/AngularJS-sublime-package) 56 | - [avalon completion for sublime 3](https://github.com/gogoyqj/AvalonHelper) 57 | - [Sublime Text highlighting for Vue.js](https://github.com/vuejs/vue-syntax-highlight) 58 | - [Sublime Text helpers for React](https://github.com/facebookarchive/sublime-react) 59 | - [TypeScript-Sublime-Plugin](https://github.com/Microsoft/TypeScript-Sublime-Plugin) 60 | 61 | - CSS 62 | 63 | - [Bootstrap 3 Snippets Plugin for Sublime Text 2/3](https://github.com/JasonMortonNZ/bs3-sublime-plugin) 64 | - [Sublime Text代码片段收藏](https://github.com/jakebresnehan/Sublime-Super-Snippets) 65 | 66 | - PHP 67 | 68 | - [Thinkphp Sublime插件 显示优化,兼容St3版本)](https://github.com/yangweijie/SublimeThinkPHP) 69 | - [laravelgenerator](https://github.com/gnarula/sublime-laravelgenerator) 70 | - [Laravel Blade Highlighter](https://github.com/Medalink/laravel-blade) 71 | - [Sublime中的函数手册提示](https://github.com/yangweijie/SublimePHPNinJaManual) 72 | 73 | - Nodejs 74 | 75 | - [sublime3 配置node build环境](http://segmentfault.com/q/1010000004259136) 76 | 77 | 17. 版本管理 78 | 79 | - [git](https://github.com/kemayo/sublime-text-git) 80 | - [git](https://github.com/jikeytang/sublime-text.git) 81 | - [svn](https://wbond.net/sublime_packages/svn) 82 | - [ftp](https://wbond.net/sublime_packages/sftp) 83 | 84 | 18. [文件比较](https://github.com/colinta/SublimeFileDiffs) 85 | 19. [CSS值转REM的Sublime Text插件](https://github.com/flashlizi/cssrem) 86 | 20. [本地历史记录](https://github.com/vishr/local-history) 87 | 20. [目录树文件图标](https://github.com/ihodev/sublime-file-icons) 88 | 89 | ## Settings 90 | 1. Font 91 | 推荐使用 [YaHei.Consolas.1.12.ttf](http://code.google.com/p/uigroupcode/downloads/detail?name=YaHei.Consolas.1.12.zip&can=2&q=#makechanges),即为上图中所示字体。 92 | 2. Theme 93 | * code style: 推荐使用这款[marktheme](http://code.google.com/p/uigroupcode/downloads/detail?name=Monokai.rar&can=2&q=#makechanges) 94 | * [更换sidebar皮肤](https://gist.github.com/1854721) 95 | * [分享一个sublime 主题 ](http://jamiewilson.io/predawn/) 96 | * [颜色配色](http://colorsublime.com/) 97 | * [针对 ST3 的皮肤](https://github.com/ctf0/Seti_ST3) 98 | * [A Hyperminimal UI Theme for Sublime Text](https://github.com/kkga/spacegray) 99 | * [Customize color scheme for Sublime](https://github.com/zchen9/sublime-color-scheme/) 100 | * [推荐一款很酷的 Sublime Text 主题 – ayu](http://www.css88.com/archives/6340) 101 | * [现在推荐 Sublime Text 皮肤 – Flatland Dark](https://github.com/thinkpixellab/flatland) 102 | ![Flatland Dark](https://camo.githubusercontent.com/45131d0300c85aea047a40ea46d24a109cb2657c/68747470733a2f2f7261772e6769746875622e636f6d2f7468696e6b706978656c6c61622f666c61746c616e642f6d61737465722f73637265656e73686f74732e706e67) 103 | * [现在推荐 Sublime Text 主题 – one-dark-theme](https://github.com/andresmichel/one-dark-theme) 104 | ![one-dark-theme](https://camo.githubusercontent.com/efab64d203d4a7c5132e387d347addfcc109c1eb/687474703a2f2f692e696d6775722e636f6d2f447954587863352e706e67) 105 | 3. Preferences 106 | - 用户设置 Preferences -> Settings - User 107 | 108 | ```javascript 109 | { 110 | "color_scheme" : "Packages/Color Scheme - Default/Monokai.tmTheme", // theme 111 | "draw_minimap_border" : true, // 右侧缩略图边框 112 | "font_face" : "YaHei Consolas Hybrid", // 字体设置 113 | "font_size" : 13, // 字体大小 114 | "highlight_line" : true, // 当前行标亮 115 | "ignored_packages" : ["Toggle Css Format"], // 开启vim模式 116 | "save_on_focus_lost" : true, // 失去焦点后保存 117 | "auto_complete" : false, // 失去焦点后保存 118 | "word_wrap" : false, // 强制不换行 119 | "word_separators" : "./\\()\"':,.;<>~!@#$%^&*|+=[]{}`~?", // 双击选中中划线 120 | "update_check" : false, // 关闭自动更新 121 | "open_files_in_new_window" : false // 取消单文件预览,单击文件在新标签打开 122 | //"preview_on_click" : false // 双击文件新标签打开 123 | } 124 | ``` 125 | 126 | - 全屏设置 Preferences -> Settings - More -> Distraction Free - User 127 | 128 | ```javascript 129 | { 130 | "line_numbers" : true, //是否显示行号 131 | "gutter" : true, //是否显示边列 132 | "draw_centered" : true, //是否居中显示 133 | "wrap_width" : 80, //换行宽度(单位:字符) 134 | "word_wrap" : false, //是否自动换行 135 | "scroll_past_end" : true //滚动能否超过结尾 136 | } 137 | ``` 138 | - Emmet css冒号后面的空格,在emmet-settings-default 139 | 140 | ```javascript 141 | "preferences": { 142 | "css.valueSeparator": ":", 143 | "css.propertyEnd" : ";" 144 | } 145 | ``` 146 | - 修改的快捷键,完全向webstorm看齐,两个软件切换无缝。 Preferences -> Key Bindings - User 147 | 148 | ```javascript 149 | [ 150 | { "keys": ["ctrl+shift+c"], "command": "copy_path" }, 151 | { "keys": ["ctrl+shift+f"], "command": "html_tidy" }, 152 | { "keys": ["alt+f12"], "command": "open_in_browser" }, // ie 153 | { "keys": ["f12"], "command": "side_bar_files_open_with", // firefox 154 | "args": { 155 | "paths": [], 156 | "application": "D:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe", 157 | "extensions":".*" //any file with extension 158 | } }, 159 | { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with", // firefox 160 | "args": { 161 | "paths": [], 162 | "application": "C:\\Users\\tony\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", 163 | "extensions":".*" //any file with extension 164 | } }, 165 | { "keys": ["`"], "command": "toggle_distraction_free" }, 166 | { "keys": ["alt+c"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, 167 | { "keys": ["alt+w"], "command": "toggle_comment" }, 168 | { "keys": ["alt+f3"], "command": "htmlprettify" }, 169 | { "keys": ["ctrl+d"], "command": "duplicate_line" }, 170 | { "keys": ["ctrl+shift+d"], "command": "find_under_expand" }, 171 | { "keys": ["ctr+shift+w"], "command": "close" }, 172 | { "keys": ["ctrl+w"], "command": "find_under_expand" }, 173 | { "keys": ["alt+d"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} }, 174 | { "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, 175 | { "keys": ["ctrl+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line Before.sublime-macro"} }, 176 | { "keys": ["alt+right"], "command": "next_view" }, // 下一个标签 177 | { "keys": ["alt+left"], "command": "prev_view" }, // 上一个标签 178 | { "keys": ["alt+1"], "command": "toggle_side_bar" } 179 | ] 180 | ``` 181 | 182 | 4. [定制缩进](http://baelabs.duapp.com/Sublime/indentation.html) 183 | 5. [拼写检查](http://baelabs.duapp.com/Sublime/spell_checking.html) 184 | 6. [全屏模式,自由模式的定制](http://baelabs.duapp.com/Sublime/distraction_free.html) 185 | 7. [在sublime-text中设置浏览器预览](http://www.cnblogs.com/jikey/archive/2013/03/12/2955230.html) 186 | 8. [其它配置](http://baelabs.duapp.com/Sublime/settings.html) 187 | 9. 预览设置 188 | 189 | - [配置sublime右键打开](http://www.pixelstech.net/article/1445261721-Add-Sublime-Text-to-your-context-menu-on-right-click) 190 | 191 | ```shell 192 | @echo off 193 | SET sublimeTextPath=C:\Program Files\Sublime Text 3\sublime_text.exe 194 | 195 | REM ADD REGISTRY KEYS 196 | @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f 197 | @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%sublimeTextPath%,0" /f 198 | @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%sublimeTextPath% \"%%1\"" /f 199 | 200 | pause 201 | ``` 202 | 203 | - [localhost设置打开](http://www.hongkiat.com/blog/preview-in-localhost/) 204 | - [Sublime Text 3 配置浏览器预览路径 localhost](http://jingyan.baidu.com/article/15622f2419ce79fdfcbea5ea.html) 205 | 206 | 207 | 10. [st开启全屏之后的设置](http://blog.sina.com.cn/s/blog_aef7731b01018cnx.html) 208 | 11. React相关 209 | 210 | - [React-navite 实战系列教程之 (开发工具篇)](http://www.jianshu.com/p/89771e8bcee5) 211 | - [Enable Emmet in .JSX files, using Babel JSX Syntax highlighter](https://gist.github.com/neilcarpenter/8979ea9ed91b10e36af9) 212 | - [Sublime text 3. Enable Emmet in JSX files](https://gist.github.com/max-mykhailenko/41d0c3991d92f38dcbc6) 213 | 214 | 12. [多台电脑同步sublime text设置](https://zhuanlan.zhihu.com/p/31192452) 215 | 216 | ## Skill 217 | 1. 按住 `ctrl` 键,鼠标单击就是多重选择。 218 | 2. [键盘多重选择](http://baelabs.duapp.com/Sublime/multiple_selection_with_the_keyboard.html) 219 | 3. 根据选择文本自动添加 ', "",(),[] 匹配。 220 | 4. 搜索按钮的功能说明 (冷风贡献): 221 | 222 | 5. [使用 Sublime + PlantUML 高效地画图](http://www.jianshu.com/p/e92a52770832) 223 | 224 | 225 | ## Default Keymap 226 | 227 | 1. Ctrl+L 选择整行(按住-继续选择下行) 228 | 2. Ctrl+Shift+K(shhift+del) 删除整行, ctrl + KK 从光标处删之行尾,Ctrl+K Backspace 从光标处删除至行首 229 | 3. Ctrl+Shift+D 复制光标所在整行,插入在该行之前 230 | 4. Ctrl+D 选词 (按住-继续选择下个相同的字符串,再按,可跳到相应的方法定义处 231 | 5. Ctrl+Shift+M 选择括号内的内容(按住-继续选择父括号) 232 | 6. Ctrl+/ 注释整行(如已选择内容,同“Ctrl+Shift+/”效果) 233 | 7. Ctrl + alt + / 取消注释 234 | 8. Ctrl+Shift+UP 与上行互换 ctrl + shift + up: 列模式编辑 235 | 9. Ctrl + R 跳转当前页的目标方法 236 | 10. Ctrl+K + U 大写 237 | 11. Ctrl+K + L 小写 238 | 12. 鼠标中间 列模式编辑 239 | 13. Ctrl+Shift+[] 代码折叠 240 | 14. ctrl+k ctrl+1: 折叠所有代码 241 | 15. Ctrl + K,B 打开侧边栏 242 | 16. ctrl + 回车:   光标后插入行, Ctrl+Shift+Enter 光标前插入行 243 | 17. ctrl + m: 匹配括号 244 | 18. vim mode下 查找上一个下一个的快捷键是 是* # 245 | 19. ctrl +z, y: 撤销,恢复撤销 246 | 20. alt + .: 闭合当前标签 247 | 21. Ctrl+F2: 设置书签 248 | 22. F2: 下一个书签 249 | 23. Shift+F2: 上一个书签 250 | 24. ctrl + p: 即时的文件切换 251 | 25. ctrl + shift + a: 选择标签内的内容 252 | 26. ctrl + 单击: 多行随意位置添加光标 253 | 27. alt + F3( mac: ctrl + command + g): 选择页面中所有相同的词 254 | 28. ctrl + F3: 跳转到下一个选中的词 255 | 29. Ctrl+Shift+P Set Syntax:html : 设置文件类型 256 | 30. Shift + 右键: 连续多行光标选中 (by Gary Gauh) 257 | 258 | ## Emmet(zencoding) Keymap 259 | 260 | 261 | 1. match_pair_outward: ctrl+,向外匹配 262 | 2. match_pair_inward: ctrl+alt+,向内匹配 263 | 3. matching_pair: ctrl+alt+j,快速匹配html标签(phpstorm: ctrl + []) 264 | 4. split_join_tag: shift+ctrl+`,快速成对修改html标签 265 | 5. remove_tag: shift+ctrl+;删除包裹的html标签(phpstorm: ctrl + shift + del) 266 | 6. increment_number_by_1: ctrl+up,数字快速增长,步长为1 267 | 7. decrement_number_by_1: ctrl+down,数字快速递减,步长为1 268 | 8. increment_number_by_01: alt+up,数字快速增长,步长为0.1 269 | 9. decrement_number_by_01: alt+down,数字快速递减,步长为0.1 270 | 10. increment_number_by_10:shift+alt+up,数字快速增长,步长为10 271 | 11. decrement_number_by_10: shift+alt+down,数字快速递减,步长为10 272 | 12. select_next_item:shift+ctrl+. 选择下一个属性 273 | 13. select_previous_item: shift+ctrl+,, 选择上一个属性 274 | 14. wrap_as_you_type: shift+ctrl+g,包裹内容 275 | 276 | ## VIM Keymap 277 | 278 | sublime 支持 VIM 80% 左右的快捷键,以实际为准。 279 | 280 | 一. 移动: 281 | h,j,k,l: 左,下,上,右。 282 | w: 下一个词的词首。W:下一个单词(不含标点)。 283 | e:下一个词的词尾。E:不含标点。 284 | b:上一个词的词首。B:不含标点。 285 | <>: v 模式选中后进行缩进。 286 | >><<:向前向后缩进。 287 | 二. 跳转: 288 | %: 可以匹配{},"",(),[]之间跳转。 289 | H、M、L:直接跳转到当前屏幕的顶部、中部、底部。 290 | #H:跳转到当前屏的第#行。 291 | #L:跳转到当前屏的倒数第#行。 292 | zt: 当前编辑行置为屏顶。 293 | zz: 当前编辑行置为屏中。 294 | zb: 当前编辑行置为屏底。 295 | G:直接跳转到文件的底部。 296 | gg: 跳转到文件首。 297 | gd: 跳转到光标所在函数和变量的定义。 298 | ():跳转到当前的行首、行尾。 299 | {}:向上、向下跳转到最近的空行。 300 | [{:跳转到目前区块开头。 301 | ]}:跳转到目前区块结尾。 302 | 0: 跳转到行首。 303 | $: 跳转到行尾。 304 | 2$: 跳转到下一行的行尾。 305 | #:跳转到该行的第#个位置。 306 | #G: 15G,跳转到15行。 307 | :#:跳转到#行。 308 | f'n':跳转到下一个"n"字母后。 309 | ctrl+b: 向后翻一页。 310 | ctrl+f:向前翻一页。 311 | ctrl+u: 向后翻半页。 312 | ctrl+d: 向前翻半页。 313 | ctry+e: 下滚一行。 314 | 三. 选择: 315 | 1.v: 开启可视模式。 V: 开启逐行可视模式。 316 | 2.^V: 矩形选择。 317 | 3.v3w: 选择三个字符。 318 | 4.ab:包括括号和()内的区域。 319 | 5.aB:包括括号和{}内的区域。 320 | 6.ib:括号()内的区域。 321 | 7.iB:括号{}内的区域。 322 | 8.aw:标记一个单词。 323 | 四. 编辑: 324 | 1. 新增: 325 | i: 光标前插入。 326 | I: 在当前行首插入。 327 | a: 光标后插入。 328 | A: 当前行尾插入。 329 | O: 在当前行之前插入新行。 330 | o: 在当前行之后插入新行。 331 | 2. 修改 c(change) 为主: 332 | r: 替换光标所在处的字符。 333 | R:替换光标所到之处的字符。 334 | cw: 更改光标所在处的字到字尾处。 335 | c#w: c3w 修改3个字符。 336 | C:修改到行尾。 337 | ci':修改配对标点符号中的文本内容。 338 | di':删除配对标点符号中的文本内容。 339 | yi':复制配对标点符号中的文本内容。 340 | vi':选中配对标点符号中的文本内容。 341 | s:替换当前一个光标所处字符。 342 | #S:删除 # 行,并以新文本代替。 343 | 3. 删除 d(delete) 为主: 344 | D:删除到行尾。 345 | X: 每按一次,删除光标所在位置的前面一个字符。 346 | x: 每按一次,删除光标所在位置的后面一个字符。 347 | #x: 删除光标所在位置后面6个字符。 348 | d^: 删至行首。 349 | d$: 删至行尾。 350 | dd:(剪切)删除光标所在行。 351 | dw: 删除一个单词/光标之后的单词剩余部分。 352 | d4w: 删除4个word。 353 | #dd: 从光标所在行开始删除#行。 354 | daB: 删除{}及其内的内容。 355 | diB: 删除{}中的内容。 356 | n1,n2 d:将n1,n2行之间的内容删除。 357 | 4. 查找: 358 | /: 输入关键字,发现不是要找的,直接在按n,向后查找直到找到为止。 359 | ?: 输入关键字,发现不是要找的,直接在按n,向前查找直到找到为止。 360 | *: 在当前页向后查找同一字。 361 | #: 在当前页向前查找同一字。 362 | 5. 复制 y(yank)为主: 363 | yw: 将光标所在之处到字尾的字符复制到缓冲区中。 364 | #yw: 复制#个字到缓冲区。 365 | Y:相当于yy, 复制整行。 366 | #yy:表示复制从光标所在的该行往下数#行文字。 367 | p: 粘贴。所有与y相关的操作必用p来结合粘贴。 368 | ]p:粘贴到合适的缩进处。 369 | n1,n2 co n3:复制第n1行到第n2行之间的内容到第n3行后面。 370 | 6. 大小写转换: 371 | gUU: 将当前行的字母改为大写。 372 | guu: 将当前行的字母改为小写。 373 | gUw: 将当前光标下的单词改为大写。 374 | guw: 将当前光标下的单词改为小写。 375 | a. 整篇大写: 376 | ggguG 377 | gg: 光标到文件第一个字符。 378 | gu: 把选择范围全部小写。 379 | G: 到文件结束。 380 | b. 整篇小写:gggUG 381 | 7. 其它: 382 | J:当前行和下一行合并成一行。 383 | 8. 移动: 384 | n1,n2 m n3:将n1行到n2行之间的内容移至n3行下。 385 | 五.退出: 386 | 1. w filename: 保存正在编辑的文件filename 387 | 2. wq filename: 保存后退出正在编辑的文件filename 388 | 3. q:退出不保存。 389 | 六.窗口操作: 390 | 1. ctrl+w p: 在两个分割窗口之间来回切换。 391 | 2. ctrl+w j: 跳到下面的分割窗 392 | 3. ctrl+w h: 跳到左边的分割窗。 393 | 4. ctrl+w k: 跳到上面的分割窗。 394 | 5. ctrl+w l: 跳到右边的分割窗。 395 | 七.折叠: 396 | zo 將游標所在處的折疊打開。open。 397 | zc 將游標所在處已打開的內容再度折疊起來。close。 398 | zr 將全文的所有折疊依層次通通打開。reduce。 399 | zm 將全文已打開的折疊依層次通通再折疊起來。more。 400 | zR 作用和 zr 同,但會打開含巢狀折疊(折疊中又還有折疊)的所有折疊。 401 | zM 作用和 zm 同,但對於巢狀折疊亦有作用。 402 | zi 這是個切換,是折疊與不折疊指令間的切換。 403 | zn 打開全文的所有折疊。fold none。 404 | zN 這是 zn 的相對指令,回復所有的折疊。 405 | 406 | 407 | ## Document 408 | * 非官方文档:[Unofficial Document英文版](https://sublime-text-unofficial-documentation.readthedocs.org/en/latest/) 409 | * [Unofficial Document中文版](http://sublime-undocs-zh.readthedocs.org/en/latest/index.html) 410 | * sublime [配置详解](http://www.feelcss.com/sublime-text-2-settings.html) 411 | * sublime [其它文档](http://baelabs.duapp.com/Sublime/) 412 | 413 | ## FAQ 414 | 415 | - 如何安装插件? 416 | 417 | 1. 直接安装 418 | 可以去github下载安装包解压缩到Packages目录(菜单->preferences->packages)。 419 | 2. 利用package,在安装插件之前先安装package [packagecontrol 安装](https://packagecontrol.io/installation) 420 | 如果在Perferences->package settings中看到package control这一项,则安装成功。 421 | 3. 用Package Control安装插件的方法: 422 | 按下Ctrl+Shift+P调出命令面板,输入install,出现Install Package 选项并回车,然后在列表中选中要安装的插件或者直接输入需要安装插件的名称,比如Emmet。 423 | 424 | - 如何删除安装的插件? 425 | 426 | 1. ctr+shift+P,输入package 427 | 2. 查找remove package 428 | 3. 输入你要删除的package 429 | 4. 回车,OK 430 | 431 | - 百度输入造成sublime闪退(感谢[leohxj](https://github.com/leohxj)提供) 432 | 如果同时安装这两个软件,会造成sublime闪退,原因不详。但是测试过,是百度输入法的原因。希望能把这条信息加入到Wiki中,让更多人知道。 433 | 434 | - Emmet tab失效问题 435 | 436 | - [Sublime报please wait a bit while pyV8 binary](http://jingyan.baidu.com/article/aa6a2c14d5177f0d4d19c45f.html) 437 | - [Sublime Text 3 解决Emmet失效的问题](http://www.jianshu.com/p/0862e754cf15) 438 | - [关于Sublime text 2中Emmet的安装 _html:xt无效](http://www.csdn123.com/html/itweb/20130915/119877_119876_119883.htm) 439 | 440 | - 有没有类似其它工具的md? 441 | 442 | - [各个编辑器的配置收集 Idea-Settings](https://github.com/jikeytang/Idea-Settings) 443 | 444 | ## Guide 445 | 446 | * [sublime text zhihu专题](http://www.zhihu.com/topic/19668076) 447 | * [xdebug调试](https://github.com/martomo/SublimeTextXdebug) 448 | * [sublimetext 3.0文档](http://baelabs.duapp.com/Sublime%20text3) 449 | * [Sublime Text 3 绝对神器](http://www.cnblogs.com/bananaplan/p/Sublime-Text-3-Powerful.html) 450 | * [SublimeText手册-tw](http://docs.sublimetext.tw/) 451 | * [怎样从直接Github的repository安装Sublime Text插件](http://code-tech.diandian.com/post/2012-11-10/40041273125) 452 | * [Sublime text2的ThinkPHP插件](http://code-tech.diandian.com/post/2012-11-14/40041132753) 453 | * [Ubuntu 下Sublime Text 2 输入中文解决方法](http://code-tech.diandian.com/post/2012-11-14/40042622351) 454 | * [如何开发Sublime Text2插件_衍生篇](http://code-tech.diandian.com/post/2012-11-16/40042306130) 455 | * [用sublime构建phonegap项目](http://code-tech.diandian.com/post/2012-11-16/40042845471) 456 | * [超级牛B编码王(二):Sublime2之Zencoding快速上手](http://code-tech.diandian.com/post/2012-11-16/40041334087) 457 | * [sublime text 左侧菜单美化1](http://code-tech.diandian.com/post/2012-11-21/40042403501) 458 | * [在 Ubuntu 12 下安装 Sublime Text 2](http://code-tech.diandian.com/post/2012-11-29/40043724758) 459 | * [Sublime Text 全程指南](http://zh.lucida.me/blog/sublime-text-complete-guide/) 460 | * [Sublime Text 全程指引 by Lucida](http://www.cnblogs.com/figure9/p/sublime-text-complete-guide.html) 461 | * [sublime 有哪些使用技巧](http://www.zhihu.com/question/24896283) 462 | * [前端工程师手中的Sublime Text](http://www.html-js.com/article/The-frontend-tool-Megamix) 463 | * [Sublime 进阶使用](http://blog.saymagic.cn/2015/06/20/write-blog-by-sublime.html) 464 | * [JavaScript 开发者必备的10款 Sublime Text 插件](http://info.9iphp.com/essential-sublime-text-javascript-plugins/) 465 | * [ Sublime Text 学习日志](https://github.com/HereChen/LogList/blob/master/sublimeLog.md) 466 | * [Sublime Text 之运行 ES6 (基于babel)](http://www.52cik.com/2015/10/21/sublime-text-run-es6.html) 467 | * [sublime 英文教程](http://code.tutsplus.com/) 468 | * [Sublime-Tutorial](https://github.com/liveNo/Sublime-Tutorial) 469 | * [Sublime Text 2搭建Java开发环境](http://blog.csdn.net/chszs/article/details/8232051) 470 | * [高端唯有定制,把sublime打造成专属的IDE](http://yalishizhude.github.io/2015/10/20/sublime/) 471 | * [如何优雅地使用 Sublime Text](http://blog.jobbole.com/95933/) 472 | * [一个前端程序猿的Sublime Text3的自我修养](http://guowenfh.github.io/2015/12/26/SublimeText/) 473 | * [前端开发sublimeconfig](https://github.com/zhiqiang21/MyToolsConfig/blob/master/sublimeconfig/%E5%89%8D%E7%AB%AF%E5%BC%80%E5%8F%91%20sublime%20text%20%E5%B8%B8%E7%94%A8%E6%8F%92%E4%BB%B6%E5%92%8C%E9%85%8D%E7%BD%AE.md) 474 | 475 | ## SublimeText3 476 | 477 | - [推荐给 Web Developer 的 Sublime Text 3 插件](http://vinta.ws/code/must-have-sublime-text-packages.html) 478 | - [Bootstrap 3 Snippets Plugin for Sublime Text 2/3](https://github.com/JasonMortonNZ/bs3-sublime-plugin) 479 | - [自定义Emmet语法规则以快速输出bootstrap组件](http://frontenddev.org/article/sublime-does-text-3-plug-in-custom-emmet-grammatical-rules-in-order-to-quickly-bootstrap-output-component.html) 480 | - [Sublime text 3 中文文件名显示方框怎么解决?](http://www.zhihu.com/question/24029280/answer/30256243) 481 | - [win下Sublime Text 3开发 Nodejs](https://cnodejs.org/topic/51ee453af4963ade0ebde85e) 482 | - [使用sublime Text 3进行java编程的一些总结](http://blog.csdn.net/wolinxuebin/article/details/41049551) 483 | - [Sublime Text 3能用支持的插件推荐](http://dengo.org/archives/923) 484 | - [使用sublime Text 3进行java编程的一些总结](http://blog.csdn.net/wolinxuebin/article/details/41049551) 485 | - [sublime text3 设置专题](https://scotch.io/bar-talk/best-of-sublime-text-3-features-plugins-and-settings) 486 | - [Sublime Text 3 最好的功能、插件和设置](http://gold.xitu.io/entry/56c40cacdf0eea0053199335) 487 | - [SublimeText3常用快捷键和优秀插件(亲测)](http://www.cnblogs.com/manfredHu/p/4941307.html) 488 | 489 | ## Add 490 | * `jikeytang#gmail.com` 491 | -------------------------------------------------------------------------------- /public/images/serach.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jikeytang/sublime-text/3015c9940c4e2da8791e5cfb93b9e7e4592cfd5b/public/images/serach.jpg -------------------------------------------------------------------------------- /public/theme/Monokai.tmTheme: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Monokai 7 | settings 8 | 9 | 10 | settings 11 | 12 | background 13 | #323232 14 | caret 15 | #F8F8F0 16 | foreground 17 | #ccccff 18 | invisibles 19 | #3B3A32 20 | lineHighlight 21 | #3e3e3e 22 | selection 23 | #49483E 24 | findHighlight 25 | #FFE792 26 | findHighlightForeground 27 | #000000 28 | selectionBorder 29 | #222218 30 | activeGuide 31 | #9D550FB0 32 | bracketsForeground 33 | #ccccffA5 34 | bracketsOptions 35 | underline 36 | bracketContentsForeground 37 | #ccccffA5 38 | bracketContentsOptions 39 | underline 40 | tagsOptions 41 | stippled_underline 42 | 43 | 44 | 45 | name 46 | Comment 47 | scope 48 | comment 49 | settings 50 | 51 | foreground 52 | #75715E 53 | 54 | 55 | 56 | name 57 | String 58 | scope 59 | string 60 | settings 61 | 62 | foreground 63 | #E6DB74 64 | 65 | 66 | 67 | name 68 | Number 69 | scope 70 | constant.numeric 71 | settings 72 | 73 | foreground 74 | #69C4FF 75 | 76 | 77 | 78 | name 79 | Built-in constant 80 | scope 81 | constant.language 82 | settings 83 | 84 | foreground 85 | #69C4FF 86 | 87 | 88 | 89 | name 90 | User-defined constant 91 | scope 92 | constant.character, constant.other 93 | settings 94 | 95 | foreground 96 | #AE81FF 97 | 98 | 99 | 100 | name 101 | Variable 102 | scope 103 | variable 104 | settings 105 | 106 | fontStyle 107 | #F0EB8E 108 | 109 | 110 | 111 | name 112 | Keyword 113 | scope 114 | keyword 115 | settings 116 | 117 | foreground 118 | #99FF99 119 | 120 | 121 | 122 | name 123 | Storage 124 | scope 125 | storage 126 | settings 127 | 128 | fontStyle 129 | 130 | foreground 131 | #99FF99 132 | 133 | 134 | 135 | name 136 | Storage type 137 | scope 138 | storage.type 139 | settings 140 | 141 | fontStyle 142 | italic 143 | foreground 144 | #66D9EF 145 | 146 | 147 | 148 | name 149 | Class name 150 | scope 151 | entity.name.class 152 | settings 153 | 154 | fontStyle 155 | underline 156 | foreground 157 | #66FF66 158 | 159 | 160 | 161 | name 162 | Inherited class 163 | scope 164 | entity.other.inherited-class 165 | settings 166 | 167 | fontStyle 168 | italic underline 169 | foreground 170 | #A6E22E 171 | 172 | 173 | 174 | name 175 | Function name 176 | scope 177 | entity.name.function 178 | settings 179 | 180 | fontStyle 181 | 182 | foreground 183 | #A6E22E 184 | 185 | 186 | 187 | name 188 | Function argument 189 | scope 190 | variable.parameter 191 | settings 192 | 193 | fontStyle 194 | italic 195 | foreground 196 | #00CCCC 197 | 198 | 199 | 200 | name 201 | Tag name 202 | scope 203 | entity.name.tag 204 | settings 205 | 206 | fontStyle 207 | 208 | foreground 209 | #7CB7F1 210 | 211 | 212 | 213 | name 214 | Tag attribute 215 | scope 216 | entity.other.attribute-name 217 | settings 218 | 219 | fontStyle 220 | 221 | foreground 222 | #66FF66 223 | 224 | 225 | 226 | name 227 | Library function 228 | scope 229 | support.function 230 | settings 231 | 232 | fontStyle 233 | 234 | foreground 235 | #FFCC66 236 | 237 | 238 | 239 | name 240 | Library constant 241 | scope 242 | support.constant 243 | settings 244 | 245 | fontStyle 246 | 247 | foreground 248 | #F0EB8E 249 | 250 | 251 | 252 | name 253 | Library class/type 254 | scope 255 | support.type, support.class 256 | settings 257 | 258 | fontStyle 259 | italic 260 | foreground 261 | #FFCC66 262 | 263 | 264 | 265 | name 266 | Library variable 267 | scope 268 | support.other.variable 269 | settings 270 | 271 | fontStyle 272 | 273 | foreground 274 | #F0EB8E 275 | 276 | 277 | 278 | name 279 | Invalid 280 | scope 281 | invalid 282 | settings 283 | 284 | background 285 | #9ed27f 286 | fontStyle 287 | 288 | foreground 289 | #F8F8F0 290 | 291 | 292 | 293 | name 294 | Invalid deprecated 295 | scope 296 | invalid.deprecated 297 | settings 298 | 299 | background 300 | #AE81FF 301 | foreground 302 | #F8F8F0 303 | 304 | 305 | 306 | name 307 | JSON String 308 | scope 309 | meta.structure.dictionary.json string.quoted.double.json 310 | settings 311 | 312 | foreground 313 | #F0EB8E 314 | 315 | 316 | 317 | name 318 | diff.header 319 | scope 320 | meta.diff, meta.diff.header 321 | settings 322 | 323 | foreground 324 | #FFCC66 325 | 326 | 327 | 328 | name 329 | diff.deleted 330 | scope 331 | markup.deleted 332 | settings 333 | 334 | foreground 335 | #9ed27f 336 | 337 | 338 | 339 | name 340 | diff.inserted 341 | scope 342 | markup.inserted 343 | settings 344 | 345 | foreground 346 | #A6E22E 347 | 348 | 349 | 350 | name 351 | diff.changed 352 | scope 353 | markup.changed 354 | settings 355 | 356 | foreground 357 | #E6DB74 358 | 359 | 360 | 361 | scope 362 | constant.numeric.line-number.find-in-files - match 363 | settings 364 | 365 | foreground 366 | #AE81FFA0 367 | 368 | 369 | 370 | scope 371 | entity.name.filename.find-in-files 372 | settings 373 | 374 | foreground 375 | #E6DB74 376 | 377 | 378 | 379 | uuid 380 | D8D5E82E-3D5B-46B5-B38E-8C841C21347D 381 | 382 | 383 | 384 | --------------------------------------------------------------------------------