• 推荐使用最新版本的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:

  1. http://www.sublimetext.com/docs/2/index.html
  2. http://docs.sublimetext.info/en/latest/index.html
  3. https://tutsplus.com/course/improve-workflow-in-sublime-text-2/

记录下Sublime Text Mac版的快捷键【转】的更多相关文章

  1. 记录下sublime text快捷方式

    不得不说sublime text用过之后,爱不释手,这里收集一下常用的快捷方式: ctrl+shift+p:调出命令面板,在输入ss可以改变当前的代码的渲染和提示效果, 用起sublime text ...

  2. Mac下sublime text 的“package control”安装

    小伙伴们好,我根据昨晚的经历写一个小总结:关于“Mac下sublime text 的“package control”安装”.本来安装package control是一个无比简单的事情,即使是初次使用 ...

  3. 转: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) 转载▼     正版的买 ...

  4. Mac下Sublime Text常用插件

    Mac下Sublime Text常用插件 SideBarEnhancements 右键菜单增强插件 BracketHighlighter 括号.引号.标签高亮插件 Pretty JSON JSON美化 ...

  5. 006_Mac下sublime text 的“package control”安装,sublimepackage

    Mac下sublime text 的“package control”安装,sublimepackage 小伙伴们好,我根据昨晚的经历写一个小总结:关于“Mac下sublime text 的“pack ...

  6. Sublime Text 3高效实用快捷键

    2017-11-27 16:18:48 Sublime Text 3 高效实用快捷键 Sublime Text 3 软件及注册码 官网下载链接在这里,有时候会很神奇的上不去,可能是因为被Q了,可能就是 ...

  7. 完美解决 Linux 下 Sublime Text 中文输入

    首先,我参考了好几篇文章,都是蛮不错的,先列出来: sublime-text-imfix:首先推荐这个方法,最简单,但是在我的系统上有些问题.可用这个的强烈推荐用这个 完美解决 Linux 下 Sub ...

  8. Sublime Text 3 高效编码快捷键

    Sublime Text 3 高效编码快捷键   1.快速跳到第20行 Ctrl+p 框中输入 “  :20 ”   2.在文件夹中查看文件 Ctrl+p 框中输入 “ index.html”  更快 ...

  9. windows 下sublime text 3 配置python 环境详解

    这我们的环境已经安装了python 3.7.1解释器和sublime text 3 编辑器 一.package control 安装 首先我们打开sublime text 3 ——>Tools— ...

随机推荐

  1. SQL Server数据库备份的镜像

    SQL Server数据库备份的镜像 一个完整备份可以分开镜像 USE master GO BACKUP DATABASE [testdatabase] TO DISK = N'C:\testdata ...

  2. DevOps是云计算时代的开发与运营

    DevOps(英文Development和Operations的组合)是一组过程.方法与系统的统称,用于促进开发(应用程序/软件工程).技术运营和质量保障(QA)部门之间的沟通.协作与整合.[1] 它 ...

  3. PHP是怎么运行的

    这篇文章,研究一下PHP代码是如何解释和执行以及PHP脚本运行的生命周期. 概述 PHP服务的启动.严格来说,PHP的相关进程是不需要手动启动的,它是随着Apache的启动而运行的.当然,如果有需要重 ...

  4. 关于新书《修炼之道:.NET开发要点精讲》的各种说明

    索引 新书介绍 新书封面 新书目录 试读章节 原稿试读 网购地址 规格参数 反馈方式 一些感谢 附加说明 1.新书介绍 从2013年年底到2014年9月,历时将近10个月,这本书终于看到了“出版发行” ...

  5. 辛巴学院-Unity-剑英陪你零基础学c#系列(三)计算与类型

    辛巴学院:正大光明的不务正业. 中秋节快乐,每逢佳节倍思亲,尤其是那素未谋面的老婆,对吧,屌丝们.   今天我们来探索一下C#里面奇怪的计算,奇怪的类型. 奇怪的计算 当我刚刚接触计算机编程的时候,一 ...

  6. CSharpGL(0)一个易学易用的C#版OpenGL

    +BIT祝威+悄悄在此留下版了个权的信说: CSharpGL(0)一个易学易用的C#版OpenGL CSharpGL是我受到SharpGL的启发,在整理了SharpGL,GLM,SharpFont等开 ...

  7. Step by Step 创建一个 Web Service

    原创地址:http://www.cnblogs.com/jfzhu/p/4022139.html 转载请注明出处 (一)创建Web Service 创建第一个项目,类型选择ASP.NET Empty ...

  8. Worktile协同特色之二:任务看板管理

    什么是看板 看板是一种使用可视化管理的方式,跟踪任务在整个价值流中流经的不同阶段,通常我们会用带贴纸的白板,或是电子卡片墙.具备如下几个特征:1. 流程可视化 把工作拆分成小块,一张卡片写一件任务,再 ...

  9. TDR分辨率

    在日常的生活工作中,有很多测试测量的工具,比如测量长度的尺子,计量时间的钟表等等,谈到测试测量工具的时候,分辨率是关键指标之一,比如尺子的 分辨率是1mm,时钟的分辨率是秒.所谓分辨率就是测试测量工具 ...

  10. 《像计算机科学家一样思考Java》—— 读后总结

    本书属于入门级的Java书籍,与其他的向编程思想.核心技术不同的是,这本书不是按部就班的讲解java变成知识,而是随着语言的深入慢慢增加知识点. 这本书以一个语言开发者的角度,深入浅出的讲解了Java ...