记录下Sublime Text Mac版的快捷键【转】
- 推荐使用最新版本的Chrome/Safari或者Firefox浏览器浏览此页,否则Mac按键可能无法正常展示
- The Latest Version of Chrome/Safari or Firefox is Recommeded.
Keypress | Command |
---|---|
⌘ + X | Delete line |
⌃ + ⇧ + K | Delete line |
⌘ + ↩ | Insert line after |
⌘ + ⇧ + ↩ | Insert line before |
⌘ + ⌃ + ↑ | Move line/selection up |
⌘ + ⌃ + ↓ | Move line/selection down |
⌘ + L | Select line - Repeat to select next lines |
⌘ + D | Select word - Repeat select others occurrences |
⌃ + M | Jump to closing parentheses Repeat to jump to opening parentheses |
⌘ + K, ⌘ + K | Delete from cursor to end of line |
⌃ + K | Delete from cursor to end of line |
⌘ + [K] + ⌫ | Delete from cursor to start of line |
⌘ + ] | Indent current line(s) |
⌘ + [ | Un-indent current line(s) |
⌘ + ⇧ + D | Duplicate line(s) |
⌘ + J | Join line below to the end of the current line |
⌘ + / | Comment/un-comment current line |
⌘ + ⌥ + / | Block comment current selection |
⌘ + Y | Redo, or repeat last keyboard shortcut command |
⌘ + ⇧ + V | Paste and indent correctly |
⌃ + Space | Select next auto-complete suggestion |
⌘ + Z | Undo |
⌘ + Y | Redo insert snippet |
⌘ + U | Soft undo; jumps to your last change before undoing change when repeated |
⌘ + ⇧ + U | Soft redo (movement redo) |
⌃ + T | Swap two letters or, better yet, two words |
————————— |
Navigation/Goto Anywhere
Keypress | Command |
---|---|
⌘ + P | Quick-open files by name |
⌘ + R | Goto symbol、go to methods |
⌃ + G | Goto line in current file |
⌘ + T | Go to file |
⌘ + ⌃ + P | Go to project |
⌘ + Left/Right | Go to Beginning or End of Line |
⌥ + Left/Right | Move between words |
⌃ + L | Scroll to selection |
⌃ + M | Jump to matching bracket |
⌃ + Tab | Next file in stack |
⌃ + ⇧ + Tab | Previous file in stack |
————————— |
General
Keypress | Command |
---|---|
⌘ + ⇧ + P | Command prompt, Command palette |
⌘ + K, ⌘ + B | Toggle side bar |
⌃ + ⇧ + P | Show scope in status bar |
⌃ + ` | Python console |
⌘ + = | Larger Text |
⌘ + - | Smaller Text |
⌘ + ⌃ + F | Enter full screen |
⌘ + ⇧ + ⌃ + F | Enter distraction free mode |
⌘ + M | Minimize |
⌥ + ⌘ + M | Minimize all |
⌃ + Q | Record macro |
⌃ + ⇧ + Q | Play back macro |
————————— |
Find/Replace
Keypress | Command |
---|---|
⌘ + F | Find |
⌘ + ⌥ + F | Replace |
⌘ + ⌥ + E | Replace next |
⌘ + ⇧ + F | Find in files |
⌘ + ⌥ + G, ⌘ + G | Find next occurrence of current word |
⌘ + ⇧ + G | Find previous occurrence of current word |
⌘ + ⌃ + G | Select all occurrences of current word for multiple editing |
⌘ + I | Incremental find |
⌘ + D | Quick add next |
⌘ + E | Use selection for find |
⌘ + ⇧ + E | Use selection for replace |
————————— |
File Operation
Keypress | Command |
---|---|
⌘ + N | New file |
⌘ + O | Open file |
⌘ + ⇧ + T | Reopen closed file |
⌘ + S | Save file |
⌘ + ⇧+ S | Save as… |
⌘ + ⌥ + S | Save all |
⌘ + ⇧+ N | New window |
⌘ + ⇧+ W | Close window |
⌘ + W | Close file |
————————— |
Selection
Keypress | Command |
---|---|
⇧ + ⌃ + ↑ | Add previous line |
⇧ + ⌃ + ↓ | Add next line |
⌘ + A | Select all |
⌘ + L | Expand selection to line |
⌘ + D | Expand selection to word |
⌃ + ⇧+ M | Expand selection to brackets |
⌘ + ⇧+ J | Expand selection to indentation |
⌘ + ⇧+ A | Expand selection to Tag |
⌘ + ⇧+ L | Select lines, and then split it into many selections, one per line |
⇧ + Left/Right | Add or remove word selection |
Esc | Go from multiple selections to a single selection |
————————— |
Tabs
Keypress | Command |
---|---|
⌘ + ⇧ + t | Open last closed tab |
⌘ + ⌥ + ← | Cycle up through tabs |
⌘ + ⌥ + ➝ | Cycle down through tabs |
————————— |
Split window
Keypress | Command |
---|---|
⌘ + ⌥ + 2 | Split view into two columns |
⌘ + ⌥ + 1 | Revert view to single column |
⌘ + ⌥ + 5 | Set view to grid (4 groups) |
⌃ + [NUM] | Jump to group where num is 1-4 |
⌃ + ⇧ + [NUM] | Move file to specified group where num is 1-4 |
⌘ + [1,2,3…] | Select tab |
————————— |
Bookmarks
Keypress | Command |
---|---|
⌘ + F2 | Toggle bookmark |
F2 Next | bookmark |
⇧ + F2 | Previous bookmark |
⇧ + ⌘ + F2 | Clear bookmarks |
————————— |
Text manipulation
Keypress | Command |
---|---|
⌘ + K, ⌘ + U | Transform to Uppercase |
⌘ + K, ⌘ + L | Transform to Lowercase |
F5 | Sort lines |
⌃ + F5 | Sort lines(case sensitive) |
⌘ + ⌥ + T | Special characters |
————————— |
XML/HTML
Keypress | Command |
---|---|
⌘ + ⇧ + A | Select content into tag |
⌘ + ⌥ + . | Close tag |
⌃ + ⇧ + W | Wrap the selected text in the HTML tag |
————————— |
Marks
Keypress | Command |
---|---|
⌘ + K + space | Set mark // ⌘K; for me |
⌘ + K + W | Delete from cursor to mark |
⌘ + K + A | Select from cursor to mark |
⌘ + K + G | Clear mark |
————————— |
REF:
- http://www.sublimetext.com/docs/2/index.html
- http://docs.sublimetext.info/en/latest/index.html
- https://tutsplus.com/course/improve-workflow-in-sublime-text-2/
记录下Sublime Text Mac版的快捷键【转】的更多相关文章
- 记录下sublime text快捷方式
不得不说sublime text用过之后,爱不释手,这里收集一下常用的快捷方式: ctrl+shift+p:调出命令面板,在输入ss可以改变当前的代码的渲染和提示效果, 用起sublime text ...
- Mac下sublime text 的“package control”安装
小伙伴们好,我根据昨晚的经历写一个小总结:关于“Mac下sublime text 的“package control”安装”.本来安装package control是一个无比简单的事情,即使是初次使用 ...
- 转:Mac OS X下Sublime Text (V2.0.1)破解
Mac OS X下Sublime Text (V2.0.1)破解 Mac OS X下Sublime Text (V2.0.1)破解 (2013-03-07 14:02:54) 转载▼ 正版的买 ...
- Mac下Sublime Text常用插件
Mac下Sublime Text常用插件 SideBarEnhancements 右键菜单增强插件 BracketHighlighter 括号.引号.标签高亮插件 Pretty JSON JSON美化 ...
- 006_Mac下sublime text 的“package control”安装,sublimepackage
Mac下sublime text 的“package control”安装,sublimepackage 小伙伴们好,我根据昨晚的经历写一个小总结:关于“Mac下sublime text 的“pack ...
- Sublime Text 3高效实用快捷键
2017-11-27 16:18:48 Sublime Text 3 高效实用快捷键 Sublime Text 3 软件及注册码 官网下载链接在这里,有时候会很神奇的上不去,可能是因为被Q了,可能就是 ...
- 完美解决 Linux 下 Sublime Text 中文输入
首先,我参考了好几篇文章,都是蛮不错的,先列出来: sublime-text-imfix:首先推荐这个方法,最简单,但是在我的系统上有些问题.可用这个的强烈推荐用这个 完美解决 Linux 下 Sub ...
- Sublime Text 3 高效编码快捷键
Sublime Text 3 高效编码快捷键 1.快速跳到第20行 Ctrl+p 框中输入 “ :20 ” 2.在文件夹中查看文件 Ctrl+p 框中输入 “ index.html” 更快 ...
- windows 下sublime text 3 配置python 环境详解
这我们的环境已经安装了python 3.7.1解释器和sublime text 3 编辑器 一.package control 安装 首先我们打开sublime text 3 ——>Tools— ...
随机推荐
- opengles 矩阵计算
总的变换矩阵: matrix = projection * view * model 模型矩阵: modelMatrix=translateMatrix * scaleMatrix * rotateM ...
- USACO翻译:USACO 2014 FEB SILVER 三题
USACO 2014 FEB SILVER 一.题目概览 中文题目名称 自动打字 路障 神秘代码 英文题目名称 auto rblock scode 可执行文件名 auto rblock scode 输 ...
- 一鼓作气 博客--第七篇 note7
面向对象相关知识简介 类(Class): 用来描述具有相同的属性和方法的对象的集合.它定义了该集合中每个对象所共有的属性和方法.对象是类的实例. 类变量:类变量在整个实例化的对象中是公用的.类变量定义 ...
- Myeclipse中web project各种常见错误及解决方法(持续更新)
创建web project时的问题 error:Install Dynamic web Module Facet卡住 solution:把网络关掉再创建就可以 Servlet error:The se ...
- c++ eof()函数
C++ eof()函数可以帮助我们用来判断文件是否为空,抑或是判断其是否读到文件结尾.在这里我们将会对其进行详细的介绍. C++编程语言中的很多功能在我们的实际应用中起着非常大的作用.比如在对文件文本 ...
- 思科交换机配置DHCP的四个方面
这里我们主要讲解了思科交换机配置DHCP的相关内容.我们对网络拓扑先进行一下了解,然后对于其在进行一下说明,之后对于配置的代码和命令再进行一下解析. 思科交换机配置DHCP一.网络拓扑 思科交换机配置 ...
- CMS模板引擎:XHtmlAction
前言: 先说说大伙关心的工作上的事,在上家公司任了一个多月的技术经理后,和公司中止了合作关系. 主要原因在于一开始的待遇没谈的太清楚: 1:没有合同,没有公积金,连社保也没交. 2:工资的30%变成了 ...
- ABP理论学习之事件总线和领域事件
返回总目录 本篇目录 事件总线 定义事件 触发事件 处理事件 句柄注册 取消注册 在C#中,我们可以在一个类中定义自己的事件,而其他的类可以注册该事件,当某些事情发生时,可以通知到该类.这对于桌面应用 ...
- ENode框架使用场景简述
ENode是一个.NET平台下,纯C#开发的,基于DDD,CQRS,ES,EDA,In-Memory架构风格的,可以帮助开发者开发高并发.高吞吐.可伸缩.可扩展的应用程序. 开源项目地址:https: ...
- 缓存篇(Cache)~大话开篇
回到占占推荐博客索引 闲话杂淡 想写这篇文章很久了,但总是感觉内功还不太够,总觉得,要写这种编程领域里的心法(内功)的文章,需要有足够的实践,需要对具体领域非常了解,才能写出来.如今,感觉自己有写这种 ...