Show Menu
Cheatography

Sublime Text 3 OSX Cheat Sheet by

Goto

⇧ ⌘ P
 
Command Palette
⌘ P
 
Goto Anything
^ G
:
Goto Line
⌘ R
@
Goto Symbols
(⇧) ^ ⌘ E
 
Next error (prev)
(⇧) ^ -
 
Jump back (ahead)
^ L
 
Center on cursor

Multiple Carets

⌘ click
Add caret
⇧ ^ ↑/↓
Add line to caret
Drag midclick
Add lines to caret
⌘ D
Word (repeat to add next)
^ ⌘ G
All occurr­ences
⇧ ⌘ L
Split selection

Misc

Alt ↑/↓
Up/down 10 lines
⇧ ⌘ B
Toggle bookmark
⇧ ⌘ +/-
Next/prev bookmark
⇧ ⌘ C
Clear bookmarks
 

General

^ ⌘ P
 
Open Project
⌥ ⌘ N
 
New named file
^ ⌘ F
 
Full Screen
^ ~
 
Console
⌘ K, B
 
Toggle Sidebar
⌥ ⌘ [ or ]
 
Fold/u­nfold
⌘ K, 1 or J
 
Fold/u­nfold All

Expand selection to...

⌘ L
Line
⇧ ⌘ J
Indent­ation level
⇧ ⌘ space
Scope
⌘ '
Quoted area
⌘ ', ⌘ '
Quoted area + quotes

AceJump

⇧ ⌘ ;
Word mode
⇧ ⌘ '
Character mode
⇧ ⌘ .
Line mode
^ ;
Select mode
^ '
Multiple cursor mode
 

Edit

⌘ /
Comment
⌘ ] or [
Indent / Unindent
⌘ K, U or L
Upper / Lower Case
⇧ ⌘ V
Paste with indenting
⇧ ^ F
Reindent file
⇧ ^ A
Align selected variables

Line Edit

^ ⌘ ↑/↓
Move line up/down
(⇧) ⌘ enter
Insert line after (before)
⌘ X
Cut line
⇧ ^ K
Delete line
⇧ ⌘ D
Duplicate line
⌘ J
Join line

Tabs and Panes

(⇧) ⌘ N
New tab (window)
⌘ #
Select tab within pane
^ #
Select pane
⇧ ^ #
Move tab to pane
⌥ ⌘ #
Layout
(⇧) ⌘ W
Close tab (window)
 

Comments

Plugins needed for some of this shortcuts:
-AceJump
-AdvancedNewFile
-Alignment
-LineJumper
-Select Quotes
-SublimeLinter

Also, here is my user key mappings:

[
{ "keys": ["ctrl+shift+f"], "command": "reindent", "args": {"single_line": false} },
{ "keys": ["ctrl+shift+a"], "command": "alignment" },
{ "keys": ["ctrl+alt+up"], "command": "scroll_lines", "args": {"amount": 20.0} },
{ "keys": ["ctrl+alt+down"], "command": "scroll_lines", "args": {"amount": -20.0} },
{ "keys": ["shift+super+plus"], "command": "next_bookmark" },
{ "keys": ["shift+super+minus"], "command": "prev_bookmark" },
{ "keys": ["shift+super+b"], "command": "toggle_bookmark" },
{ "keys": ["shift+super+c"], "command": "clear_bookmarks" },
{ "keys": ["super+ctrl+shift+b"], "command": "build", "args": {"select": true} },
]

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.