Sublime Text Shortcuts
Keyboard Shortcuts - Windows/Linux
Warning
This topic is a draft and may contain wrong information.
Editing
| Keypress | Command |
|---|---|
| Ctrl + X | Cut line |
| Ctrl + ↩ | Insert line after |
| Ctrl + ⇧ + ↩ | Insert line before |
| Ctrl + ⇧ + ↑ | Move line/selection up |
| Ctrl + ⇧ + ↓ | Move line/selection down |
| Ctrl + L | Select line - Repeat to select next lines |
| Ctrl + D | Select word - Repeat select others occurrences |
| Ctrl + M | Jump to closing parentheses Repeat to jump to opening parentheses |
| Ctrl + ⇧ + M | Select all contents of the current parentheses |
| Ctrl + ⇧ + K | Delete Line |
| Ctrl + KK | Delete from cursor to end of line |
| Ctrl + K + Backspace | Delete from cursor to start of line |
| Ctrl + ] | Indent current line(s) |
| Ctrl + [ | Un-indent current line(s) |
| Ctrl + ⇧ + D | Duplicate line(s) |
| Ctrl + J | Join line below to the end of the current line |
| Ctrl + / | Comment/un-comment current line |
| Ctrl + ⇧ + / | Block comment current selection |
| Ctrl + Y | Redo, or repeat last keyboard shortcut command |
| Ctrl + ⇧ + V | Paste and indent correctly |
| Ctrl + Space | Select next auto-complete suggestion |
| Ctrl + U | soft undo; jumps to your last change before undoing change when repeated |
| Alt + ⇧ + W | Wrap Selection in html tag |
Windows
| Ctrl + Alt + Up | Column selection up |
| Ctrl + Alt + Down | Column selection down |
Linux
| Alt + ⇧ + Up | Column selection up |
| Alt + ⇧ + Down | Column selection down |
Navigation/Goto Anywhere
| Keypress | Command |
|---|---|
| Ctrl + P | Quick-open files by name |
| Ctrl + R | Goto symbol |
| Ctrl + ; | Goto word in current file |
| Ctrl + G | Goto line in current file |
General
| Keypress | Command |
|---|---|
| Ctrl + ⇧ + P | Command prompt |
| Ctrl + KB | Toggle side bar |
| Ctrl + ⇧ + Alt + P | Show scope in status bar |
Find/Replace
| Keypress | Command |
|---|---|
| Ctrl + F | Find |
| Ctrl + H | Replace |
| Ctrl + ⇧ + F | Find in files |
Tabs
| Keypress | Command |
|---|---|
| Ctrl + ⇧ + t | Open last closed tab |
| Ctrl + PgUp | Cycle up through tabs |
| Ctrl + PgDn | Cycle down through tabs |
| Ctrl + ⇆ | Find in files |
| Ctrl + W | Close current tab |
| Alt + [NUM] | Switch to tab number [NUM] where [NUM] <= number of tabs |
Split window
| Keypress | Command |
|---|---|
| Alt + ⇧ + 2 | Split view into two columns |
| Alt + ⇧ + 1 | Revert view to single column |
| Alt + ⇧ + 5 | Set view to grid (4 groups) |
| Ctrl + [NUM] | Jump to group where num is 1-4 |
| Ctrl + ⇧ + [NUM] | Move file to specified group where num is 1-4 |
Bookmarks
| Keypress | Command |
|---|---|
| Ctrl + F2 | Toggle bookmark |
| F2 | Next bookmark |
| ⇧ + F2 | Previous bookmark |
| Ctrl + ⇧ + F2 | Clear bookmarks |
Text manipulation
| Keypress | Command |
|---|---|
| Ctrl + KU | Transform to Uppercase |
| Ctrl + KL | Transform to Lowercase |
Keyboard Shortcuts - OSX
Warning
This topic is a draft and may contain wrong information.
Editing
| Keypress | Command |
|---|---|
| ⌘ + X | Cut 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 to select next occurrence |
| ⌃ + ⌘ + G | Select all occurrences of current selection |
| ⌃ + ⇧ + ↑ | Extra cursor on the line above |
| ⌃ + ⇧ + ↓ | Extra cursor on the line below |
| ⌃ + M | Jump to closing parentheses Repeat to jump to opening parentheses |
| ⌃ + ⇧ + M | Select all contents of the current parentheses |
| ⌃ + A | Move to beginning of line |
| ⌃ + E | Move to end of line |
| ⌘ + K, ⌘ + 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 |
| ⌃ + U | Soft undo; jumps to your last change before undoing change when repeated |
| ⌃ + ⇧ + Up | Column selection up |
| ⌃ + ⇧ + Down | Column selection down |
| ⌃ + ⇧ + W | Wrap Selection in html tag |
Navigation/Goto Anywhere
| Keypress | Command |
|---|---|
| ⌘ + P or ⌘ + T | Quick-open files by name |
| ⌘ + R | Goto symbol |
| Goto word in current file | |
| ⌃ + G | Goto line in current file |
General
| Keypress | Command |
|---|---|
| ⌘ + ⇧ + P | Command Palette |
| ⌃ + ` | Python Console |
| ⌃ + ⇧ + ⌘ + F | Toggle fullscreen mode |
| ⌃ + ⌘ + F | Toggle distraction-free mode |
| ⌘ + K, ⌘ + B | Toggle side bar |
| ⌃ + ⇧ + P | Show scope in status bar |
Find/Replace
| Keypress | Command |
|---|---|
| ⌘ + F | Find |
| ⌘ + ⌥ + F | Replace |
| ⌘ + ⇧ + F | Find in files |
Scrolling
| Keypress | Command |
|---|---|
| ⌃ + V | Scroll down one page |
| ⌃ + L | Center current line vertically in page |
| ⌘ + Down | Scroll to end of file |
| ⌘ + Up | Scroll to start of file |
Tabs
| Keypress | Command |
|---|---|
| ⌘ + ⇧ + t | Open last closed tab |
| ⌘ + [NUM] | Jump to tab in current group where num is 1-9 |
| ⌘ + 0 | Jump to 10th tab in current group |
| ⌘ + ⇧ + [ | Cycle left through tabs |
| ⌘ + ⇧ + ] | Cycle right through tabs |
| ^ + Tab | Cycle up through recent tabs |
| ⇧ + ^ + Tab | Cycle down through recent tabs |
| Find in files |
Split window
| Keypress | Command |
|---|---|
| ⌘ + ⌥ + 1 | Revert view to single column |
| ⌘ + ⌥ + 2 | Split view into two columns |
| ⌘ + ⌥ + 3 | Split view into three columns |
| ⌘ + ⌥ + 4 | Split view into four columns |
| ⌘ + ⌥ + 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 |
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 |
| ⌘ + ⌃ + up, ⌘ + ⌃ + down | Clip text upwards / downwards |
Sublime Text Shortcuts的更多相关文章
- Sublime Text 全程指引 by Lucida
作者:Lucida 微博:@peng_gong 豆瓣:@figure9 博客园:@figure9 原文链接:http://zh.lucida.me/blog/sublime-text-complete ...
- CodeAtlas For Sublime Text
CodeAtlas is a plugin of SublimeText, which allows one to explore the call graph conveniently. The p ...
- sublime text 3插件
Package Control Messages Emmet emmet插件 Thank you for installing Emmet -- a toolkit that can greatly ...
- 翻译:打造基于Sublime Text 3的全能python开发环境
原文地址:https://realpython.com/blog/python/setting-up-sublime-text-3-for-full-stack-python-development/ ...
- Sublime Text 3最好的功能、插件和设置(转)
Sublime Text 3 是一个了不起的软件.首先,它是一个干净,实用,可以快速的编写代码编辑器.它不仅具有令人难以置信的内置功能(多行编辑和VIM模式),而且还支持插件,代码片段和其他许多东西. ...
- Sublime Text 全程指南
摘要(Abstract) 本文系统全面的介绍了 Sublime Text,旨在成为最优秀的 Sublime Text 中文教程. 更新记录 2014/09/27:完成初稿 2014/09/28: 更正 ...
- Sublime Text使用教程【转】
本文转载自:http://lucida.me/blog/sublime-text-complete-guide/ 摘要(Abstract) 本文系统全面的介绍了 Sublime Text,旨在成为最优 ...
- Sublime Text 教程
编辑器的选择(Editor Choices) 从初学编程到现在,我用过的编辑器有EditPlus.UltraEdit.Notepad++.Vim.TextMate和Sublime Text,如果让我从 ...
- Sublime Text 有哪些使用技巧
1. 更改变量名的几种方法<img src="https://pic4.zhimg.com/d93cf0e8987e0117f3a3187cfe8e53fb_b.jpg&quo ...
随机推荐
- EasyUI获取DataGrid中某一列的所有值
function count() { var rows = $('#dg'').datagrid('getRows')//获取当前页的数据行 var total = 0; for (var i = 0 ...
- python eval() hasattr() getattr() setattr() 函数使用方法详解
eval() 函数 --- 将字符串str当成有效的表达式来求值并返回计算结果. 语法:eval(source[, globals[, locals]]) ---> value 参数: sour ...
- ashx一般处理程序
说明: 虽然通过标准的方式可以创建处理程序,但是实现的步骤比较复杂,为了方便网站开发中对处理程序的应用,从Asp.net 2.0开始,asp.net提供了称为一般处理程序的处理程序,允许我们使用 ...
- Windows下RabbitMQ安装,部署,配置
安装部署 1.当前环境以及参考资料出处 部署环境:windows server 2008 r2 enterprise 官方安装部署文档:http://www.rabbitmq.com/install- ...
- 蓝桥杯 第四届C/C++预赛真题(6) 三部排序(水题)
标题:三部排序 一般的排序有许多经典算法,如快速排序.希尔排序等. 但实际应用时,经常会或多或少有一些特殊的要求.我们没必要套用那些经典算法,可以根据实际情况建立更好的解法. 比如,对一个整型数组中的 ...
- ShadowCaster 代码
Pass { Name "ShadowCaster" Tags{"LightMode" = "ShadowCaster"} CGPROGRA ...
- 【洛谷】P1040 加分二叉树
[洛谷]P1040 加分二叉树 题目描述 设一个n个节点的二叉树tree的中序遍历为(1,2,3,…,n),其中数字1,2,3,…,n为节点编号.每个节点都有一个分数(均为正整数),记第i个节点的分数 ...
- iOS开发之--storyboary下,拖拽一个tableview/collectionView/view 等,顶端下沉64个像素的处理方法
大家可能会发现,在sb或者xib里面拖拽一个tableview/collectionview/view的,顶端会自动下沉64个像素,也就是说,运行在模拟器上去,自导航下面又自动下沉了64个像素, 那是 ...
- Sql Server 数据库用Transact-SQL语句创建链接服务器
1.在查询编辑器中,输入以下 Transact-SQL 命令以便链接到名为 SRVR002\ACCTG 的 SQL Server 实例: USE [master] GO EXEC master.dbo ...
- java注解类定时器
package com.jianwu.task; import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONObject;imp ...