Sublime Text 快捷键速查表

编辑

功能 Windows macOS
剪切当前行 Ctrl + X Cmd + X
向下插入空白行 Ctrl + Enter Cmd + Enter
向上插入空白行 Ctrl + Shift + Enter Cmd + Shift + Enter
向上移动一行 Ctrl + Shift + Up Cmd + Shift + Up
向下移动一行 Ctrl + Shift + Down Cmd + Shift + Down
选择一行 Ctrl + L Cmd + L
选择一词 Ctrl + D Cmd + D
重复跳转到开始括号和结束括号 Ctrl + M Cmd + M
Select all contents of the current parentheses Ctrl + Shift + M Cmd + Shift + M
Delete line Ctrl + Shift + K Cmd + Shift + K
Delete from cursor to end of line Ctrl + Cmd + K, K
Delete from cursor to start of line Ctrl + 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 line Ctrl + Cmd + J
Comment/un-comment current line Ctrl + Cmd + /
Block comment current selection Ctrl + Cmd + Shift /
Redo, or repeat last keyboard shortcut command Ctrl + Cmd + Y
Paste and indent correctly Ctrl + Cmd + Shift V
Select next auto-complete suggestion Ctrl + Cmd + Space
Soft undo; jumps to your last change before undoing, change when repeated Ctrl + Cmd + U
Wrap selection in HTML tag Alt Shift W
Close current HTML tag Alt .
Hard wrap line to ruler column setting Alt Q
功能 Windows macOS
Quick-open files by name Ctrl + Cmd + P
Goto symbol Ctrl + Cmd + R
Goto word in current file Ctrl + Cmd + ;
Goto line in current file Ctrl + Cmd + G

General

功能 Windows macOS
Command prompt Ctrl + Cmd + Shift P
Toggle sidebar Ctrl + Cmd + K, B
Show scope in status bar Ctrl + Cmd + Shift Alt P

Find/Replace

功能 Windows macOS
Find Ctrl + Cmd + F
Replace Ctrl + Cmd + H
Find in files Ctrl + Cmd + Shift F

Split window

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

Bookmarks

功能 Windows macOS
Toggle bookmark Ctrl + Cmd + F2
Next bookmark F2
Previous bookmark Shift F2
Clear bookmarks Ctrl + Cmd + Shift F2

Text manipulation

功能 Windows macOS
Transform to uppercase Ctrl + Cmd + K, U
Transform to lowercase Ctrl + Cmd + K, L