Sublime Text 快捷键速查表

编辑

功能WindowsmacOS
剪切当前行Ctrl + XCmd + X
向下插入空白行Ctrl + EnterCmd + Enter
向上插入空白行Ctrl + Shift + EnterCmd + Shift + Enter
向上移动一行Ctrl + Shift + UpCmd + Shift + Up
向下移动一行Ctrl + Shift + DownCmd + Shift + Down
选择一行Ctrl + LCmd + L
选择一词Ctrl + DCmd + D
重复跳转到开始括号和结束括号Ctrl + MCmd + M
Select all contents of the current parenthesesCtrl + Shift + MCmd + Shift + M
Delete lineCtrl + Shift + KCmd + Shift + K
Delete from cursor to end of lineCtrl +Cmd + K, K
Delete from cursor to start of lineCtrl +Cmd + K Backspace
Indent current line(s)Ctrl +Cmd + ]
Un-indent current line(s)Ctrl +Cmd + [
Duplicate line(s)Ctrl +Cmd + Shift D
Join line below to the end of the current lineCtrl +Cmd + J
Comment/un-comment current lineCtrl +Cmd + /
Block comment current selectionCtrl +Cmd + Shift /
Redo, or repeat last keyboard shortcut commandCtrl +Cmd + Y
Paste and indent correctlyCtrl +Cmd + Shift V
Select next auto-complete suggestionCtrl +Cmd + Space
Soft undo; jumps to your last change before undoing, change when repeatedCtrl +Cmd + U
Wrap selection in HTML tagAlt Shift W
Close current HTML tagAlt .
Hard wrap line to ruler column settingAlt Q
功能WindowsmacOS
Quick-open files by nameCtrl +Cmd + P
Goto symbolCtrl +Cmd + R
Goto word in current fileCtrl +Cmd + ;
Goto line in current fileCtrl +Cmd + G

General

功能WindowsmacOS
Command promptCtrl +Cmd + Shift P
Toggle sidebarCtrl +Cmd + K, B
Show scope in status barCtrl +Cmd + Shift Alt P

Find/Replace

功能WindowsmacOS
FindCtrl +Cmd + F
ReplaceCtrl +Cmd + H
Find in filesCtrl +Cmd + Shift F

Split window

功能WindowsmacOS
Revert view to single columnAlt Shift 1
Split view into two columnsAlt Shift 2
Split view into three columnsAlt Shift 3
Split view into four columnsAlt Shift 4
Set view to grid (4 groups)Alt Shift 5
Split view into two rowsAlt Shift 8
Jump to group where number is 1-4Ctrl +Cmd + 1-4
Move file to specified group where number is 1-4Ctrl +Cmd + Shift 1-4

Bookmarks

功能WindowsmacOS
Toggle bookmarkCtrl +Cmd + F2
Next bookmarkF2
Previous bookmarkShift F2
Clear bookmarksCtrl +Cmd + Shift F2

Text manipulation

功能WindowsmacOS
Transform to uppercaseCtrl +Cmd + K, U
Transform to lowercaseCtrl +Cmd + K, L