记录下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— ...
随机推荐
- iOS程序模块化设计
一.模块化设计的概述: 模块化设计(Block-based design):对一定范围内的不同功能或相同功能的不同性能.不同规格的产品进行功能分析的基础上,划分并设计出一系列功能模块,通过模块的选择和 ...
- 关于c++的 vector 容器的使用及创建方法
1.vector向量容器的使用,vector具有自动管理的功能,可以进行元素的查找删除 创建方法: (1) vector<int > v; 创建了一个v的容器,没指定容量: (2) v ...
- 初识Opserver,StackExchange的监控解决方案
Opserver是闻名遐迩的网站Stack Overflow的开源监控解决方案,由Stack Exchange发布.它基于.NET框架构建,这在监控工具领域有些与众不同. 旨在为每个受监控系统的健康状 ...
- .Net组件程序设计之异步调用
.Net组件程序设计之异步调用 说到异步调用,在脑海中首先想到就是BeginInvoke(),在一些常用对象中我们也会常常见到Invoke()和BeginInvoke(), 要想让自己的组件可以被客户 ...
- 《Entity Framework 6 Recipes》中文翻译系列 (44) ------ 第八章 POCO之POCO中使用值对象和对象变更通知
翻译的初衷以及为什么选择<Entity Framework 6 Recipes>来学习,请看本系列开篇 8-4 POCO中使用值对象(Complex Type--也叫复合类型)属性 问题 ...
- JMeter--二、在Windows环境上搭建wordpress
为了学习使用JMeter,在Windows环境上搭建了wordpress. 使用JMeter录制或是编写登录worepress.编辑文章.删除文章的脚本. 首先了解一下wordpress是什么? Wo ...
- Apk去掉签名以及重新签名的方法
Android开发中很重要的一部就是用自己的密钥给Apk文件签名,不经过签名的Apk文件一般是无法安装的,就算装了最后也是失败. 网上流传的"勾选允许安装未知来源的应用"其实跟签不 ...
- Jser 设计模式系列之面向对象 - 接口封装与继承
GOF在<设计模式>中说到:面向接口编程,而非面向实现编程 鉴于此,这个概念可见一斑! JS却不像其他面向对象的高级语言(C#,Java,C++等)拥有内建的接口机制,以确定一组对象和另一 ...
- sizzle分析记录:分解流程
<form> <label>Name:</label> <input name="name" /> <fieldset> ...
- 手机软件Toast无法显示提示信息
近日在做项目时,测试组的同事提出一个bug,就是在一台LG手机上,原本应该显示的Toast信息,都不显示,消息栏也没有出现通知,后来经过查资料知道有些三星.LG手机默认禁用了显示通知那一项,而不显示通 ...