Skip to content

Instantly share code, notes, and snippets.

@bsnux
Last active January 4, 2016 21:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsnux/8680701 to your computer and use it in GitHub Desktop.
Save bsnux/8680701 to your computer and use it in GitHub Desktop.
Sublime Text 2 shortcuts

Sublime Text 2 Mac OS X Keyboard shortcuts

Keys

  • ⇧: Shift
  • ⌘: Command
  • ⌃: Control
  • ⌥: Alt/Option
  • →: Right cursor
  • ←: Left cursor
  • ⌫: Back space

Shortcuts

CTags Shortcut
Navigate to definition ^ + t, ^ + t
Jump previous ^ + t, ^ + b
Selection/Moving Around Shortcut
Move cursor up ⌃ + p
Move cursor down ⌃ + n
Move cursor left ⌃ + b
Move cursor right ⌃ + f
Move beginning of line ⌃ + a
Move end of line ⌃ + e
Jump previous word ⌥ + ←
Jump next word ⌥ + →
Add next occurence to selection ⌘ + d
Add all occurences to selection ⌃ + ⌘ + g
Select contents inside parenthesis ⌃ + ⇧ + m
Go to closing / opening parenthesis ⌃ + m
Editing Shortcut
Copy current line ⌘ + c
Delete character ⌃ + d
Delete line ⌃ + ⇧ + k
Delete from cursor to end of line ⌘ + k + k
Delete from cursor to beginning of line ⌘ + k + ⌫
Duplicate line / selection ⌘ + ⇧ + d
Select line ⌘ + l
Move line up ⌘ + ⌃ + ↑
Move line down ⌘ + ⌃ + ↓
Insert line after ⌘ + ⏎
Insert line before ⌘ + ⇧ + ⏎
Join next line end of the current line ⌘ + j
Transpose (swap place of characters/words) ⌃ + t
Uppercase ⌘ + k + ⌘ + u
Lowercase ⌘ + k + ⌘ + l
Indent line(s) ⌘ + [
Unindent line(s) ⌘ + ]
Delete word backwards ⌃ + d
Close tag ⌘ + ⌥ + .
Toggle comment ⌘ + /
Commands Shortcut
Fuzzy searching ⌘ + p
Invoking commands ⌘ + ⇧ + p
Layout Shortcut
Simple layout ⌘ + ⌥ + 1
Split vertical ⌘ + ⌥ + 2
Finding Things Shortcut
Find ⌘ + f
Find in files ⌘ + F
Find and replace ⌘ + ⌥ + f
Incremental search ⌘ + i
Navigate through search panel Tab
Go to word ⌘ + p + #
Go to symbol ⌘ + r
Go to line number ⌃ + g
Find next
Find previous ⇧ + ⏎
Find all ⌃ + ⌘ + g
Multiple Cursors Shorcut
Split selection into lines ⌘ + ⇧ + l
Python console Shorcut
Running file ⌘ + b
Toggle console ⌃ + `
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment