Skip to content

Instantly share code, notes, and snippets.

@tieubao
Created January 9, 2014 04:24
Show Gist options
  • Save tieubao/8329385 to your computer and use it in GitHub Desktop.
Save tieubao/8329385 to your computer and use it in GitHub Desktop.
Sublime Text CheatSheet for Mac

Sublime Text CheatSheet for Mac

Legend

  • - Option (Alt)
  • - Command
  • - Control
  • - Shift
  • - Return (Enter)

Commands

General

+ + P = Command Palette

+ P = Goto Anything

+ N = New File

+ W = Close File

+ S = Save File

+ + T = Reopen Closed File

+ K, + B = Show/Hide Sidebar

+ ` = Show Console

+ + P = Project switcher

+ F2 = Bookmark line/text

+ SPACE = Autocomplete

Navigating

+ [1-9] = Browse Tabs

+ + left/right arrow = Navigate left/right

+ + [/] = Navigate left/right

+ TAB = Switch Tabs

+ P = Go to anything

:50 - Line 50
@ - Class, Function, ...
# - Symbol

+ M = Jump to another brace

+ left/right arrow = Navigate word by word

+ + < / > = Navigate tabs

Editing

+ [ = Indent left

+ ] = Indent right

+ [1-4] = Switch split screens

+ + up/down arrow = Move lines up/down

Search/Replace

+ F = Find

+ + F = Multiple Find

+ I = Incremental search

+ + F = Replace

Selection

+ D = Select the word where cursor is

+ + A = Select content of tag

+ + M = Inside brackets

+ + J = Inside indentation level

+ + SPACE = Inside Scope

Hold + Click/Drag = Multiple selection

+ + G = Select by matches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment