• 推荐使用最新版本的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. FastReport.Net 常用功能总汇

    一.常用控件 文本框:输入文字或表达式 表格:设置表格的行列数,输入数字或表达式 子报表:放置子报表后,系统会自动增加一个页面,你可以在此页面上设计需要的报表.系统在打印处理时,先按主报表打印,当碰到 ...

  2. vector、list、deque三者比较

    1.vector是一段连续的内存块,而deque是多个连续的内存块,list是所有数据元素分开保存,可以是任何两个元素都没有连续. 2.vector的查询性能最好,并且的末端增加数据也很好,除非它重新 ...

  3. canvas生成图片并保存到本地文件夹主要代码

    js var url = canvas.toDataURL();//把canvas中的图片变成data:image C# string filepath = ""; string ...

  4. SVN Server for Migration

    SVN Server: http://mxsuse01/svn/repos/erp/Oracle_EMS Report SVN (Put to SVN Sort) 1. *.RDF 2. *CP.LD ...

  5. C++ 回调函数的定义与用法

    一回调函数 我们经常在C++设计时通过使用回调函数可以使有些应用(如定时器事件回调处理.用回调函数记录某操作进度等)变得非常方便和符合逻辑,那么它的内在机制如何呢,怎么定义呢?它和其它函数(比如钩子函 ...

  6. sqlserver sp模板

    某公司内部的sp模板 create procedure [usp_my_procedure_name] as begin set nocount on; declare @trancount int; ...

  7. RSA密钥生成与使用

    RSA密钥生成与使用 openssl生成工具链接:http://pan.baidu.com/s/1c0v3UxE 密码:uv48 1. 打开openssl密钥生成软件打开 openssl 文件夹下的  ...

  8. 给公司部门设计的SOA架构

    新来老大年前开会说各位同学,公司业务越来越重,未来几年要成倍增长......,要梳理出一套新架构,才能更好的支持N万用户.....,以后升职加薪当上....打败..... 想想还有点小激动呢,于是过年 ...

  9. Microsoft Azure Web Sites应用与实践【3】—— 通过Visual Studio Online在线编辑Microsoft Azure 网站

    Microsoft Azure Web Sites应用与实践 系列: [1]—— 打造你的第一个Microsoft Azure Website [2]—— 通过本地IIS 远程管理Microsoft ...

  10. Azure PowerShell (3) 上传证书

    <Windows Azure Platform 系列文章目录> 本文介绍的是国外的Azure Global Update 2015-09-01 发现一个新的命令,在Azure PowerS ...