-
-
Save oseau/2048255 to your computer and use it in GitHub Desktop.
HTML: Sublime Text 2 Shortcuts: Cheaters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table> | |
<caption>打开/前往</caption> | |
<colgroup> | |
<col style="text-align:left;width:150px"/> | |
<col style="text-align:left;"/> | |
</colgroup> | |
<thead> | |
<tr> | |
<th scope="col">快捷键</th> | |
<th scope="col">说明</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td> <strong>⌘T</strong> </td> | |
<td> 前往文件 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌃P</strong> </td> | |
<td> 前往项目 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘R</strong> </td> | |
<td> 前往 method </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧P</strong> </td> | |
<td> 命令提示 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃G</strong> </td> | |
<td> 前往行 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘KB</strong></td> | |
<td> 开关侧栏 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃ `</strong> </td> | |
<td> python 控制台 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧N</strong></td> | |
<td> 新建窗口 </td> | |
</tr> | |
</tbody> | |
</table> | |
<table> | |
<caption>编辑</caption> | |
<colgroup> | |
<col style="text-align:left;width:150px"/> | |
<col style="text-align:left;"/> | |
</colgroup> | |
<thead> | |
<tr> | |
<th scope="col">快捷键</th> | |
<th scope="col">说明</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td> <strong>⌘L</strong> </td> | |
<td> 选择行 (重复按下将下一行加入选择) </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘D</strong> </td> | |
<td> 选择词 (重复按下时多重选择相同的词进行多重编辑) </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃⇧M</strong> </td> | |
<td> 选择括号内的内容 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧↩</strong> </td> | |
<td> 在当前行前插入新行 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘↩</strong> </td> | |
<td> 在当前行后插入新行 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃⇧K</strong> </td> | |
<td> 删除行 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘KK</strong> </td> | |
<td> 从光标处删除至行尾 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘K⌫</strong> </td> | |
<td> 从光标处删除至行首 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧D</strong> </td> | |
<td> 复制(多)行 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘J</strong> </td> | |
<td> 合并(多)行 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘KU</strong> </td> | |
<td> 改为大写 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘KL</strong> </td> | |
<td> 改为小写 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘ /</strong> </td> | |
<td> 注释 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌥ /</strong> </td> | |
<td> 块注释 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘Y</strong> </td> | |
<td> 恢复或重复 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧V</strong> </td> | |
<td> 粘贴并自动缩进 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃ space</strong> </td> | |
<td> 自动完成(重复按下选择下一个提示) </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃M</strong> </td> | |
<td> 跳转至对应的括号 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘U</strong> </td> | |
<td> 软撤销(可撤销光标移动)</td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧U</strong> </td> | |
<td> 软重做(可重做光标移动)</td> | |
</tr> | |
</tbody> | |
</table> | |
<table> | |
<caption>XML/HTML</caption> | |
<colgroup> | |
<col style="text-align:left;width:150px"/> | |
<col style="text-align:left;"/> | |
</colgroup> | |
<thead> | |
<tr> | |
<th scope="col">快捷键</th> | |
<th scope="col">说明</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td> <strong>⌘⇧A</strong> </td> | |
<td> 选择标签内的内容 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌥ .</strong> </td> | |
<td> 闭合当前标签 </td> | |
</tr> | |
</tbody> | |
</table> | |
<table> | |
<caption>查找/替换</caption> | |
<colgroup> | |
<col style="text-align:left;width:150px"/> | |
<col style="text-align:left;"/> | |
</colgroup> | |
<thead> | |
<tr> | |
<th scope="col">快捷键</th> | |
<th scope="col">说明</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td> <strong>⌘F</strong> </td> | |
<td> 查找 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌥F</strong> </td> | |
<td> 替换 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌥G</strong> </td> | |
<td> 查找下一个符合当前所选的内容 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌃G</strong> </td> | |
<td> 查找所有符合当前所选的内容进行多重编辑 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧F</strong> </td> | |
<td> 在所有打开的文件中进行查找 </td> | |
</tr> | |
</tbody> | |
</table> | |
<table> | |
<caption>拆分窗口/标签页</caption> | |
<colgroup> | |
<col style="text-align:left;width:150px"/> | |
<col style="text-align:left;"/> | |
</colgroup> | |
<thead> | |
<tr> | |
<th scope="col">快捷键</th> | |
<th scope="col">说明</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td> <strong>⌘⌥1</strong> </td> | |
<td> 单列 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌥2</strong> </td> | |
<td> 双列 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⌥5</strong> </td> | |
<td> 网格 (4组) </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃[1,2,3,4]</strong> </td> | |
<td> 焦点移动至相应组 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌃⇧[1,2,3,4]</strong> </td> | |
<td> 将当前文件移动至相应组 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘[1,2,3…]</strong> </td> | |
<td> 选择相应标签页 </td> | |
</tr> | |
</tbody> | |
</table> | |
<table> | |
<caption>书签</caption> | |
<colgroup> | |
<col style="text-align:left;width:150px"/> | |
<col style="text-align:left;"/> | |
</colgroup> | |
<thead> | |
<tr> | |
<th scope="col">快捷键</th> | |
<th scope="col">说明</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td> <strong>⌘F2</strong> </td> | |
<td> 添加/去除书签 </td> | |
</tr> | |
<tr> | |
<td> <strong>F2</strong> </td> | |
<td> 下一个书签 </td> | |
</tr> | |
<tr> | |
<td> <strong>⇧F2</strong> </td> | |
<td> 前一个书签 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘⇧F2</strong> </td> | |
<td> 清除书签 </td> | |
</tr> | |
</tbody> | |
</table> | |
<table> | |
<caption>标记</caption> | |
<colgroup> | |
<col style="text-align:left;width:150px"/> | |
<col style="text-align:left;"/> | |
</colgroup> | |
<thead> | |
<tr> | |
<th scope="col">快捷键</th> | |
<th scope="col">说明</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td> <strong>⌘K space</strong> </td> | |
<td> 设置标记 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘KW</strong> </td> | |
<td> 从光标位置删除至标记 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘KA</strong> </td> | |
<td> 从光标位置选择至标记 </td> | |
</tr> | |
<tr> | |
<td> <strong>⌘KG</strong> </td> | |
<td> 清除标记 </td> | |
</tr> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment