Skip to content

Instantly share code, notes, and snippets.

@mako-taco
Created January 30, 2013 21:28
Show Gist options
  • Save mako-taco/4677195 to your computer and use it in GitHub Desktop.
Save mako-taco/4677195 to your computer and use it in GitHub Desktop.
// Muscle Memory (Command-based)
Command + A (Select , Esc to exit)
Command + B (Run Build)
Command + C (Copy)
Command + D (Selects the word the cursor is on, Press it again to create another cursor on the next selection)
Command + F (Open Find Console)
Command + G (to jump/move cursor forward from one Search result to next)
Command + H (Hide Sublime Text)
Command + I (Incremental find)
Command + J (Join Line)
Command + K (Key Combination to be used to pair with other Command + Key)
Command + K, Command + B (To toggle the sidebar view)
Command + L (Select the entire line, Repeat to select next lines)
Command + M (Minimize Sublime Text 2)
Command + N (Opens New File/Tab)
Command + O (Open File Dialog)
Command + P (Go to any file)
Command + Q (Quit Sublime Text 2)
Command + R (Go to a symbol within the Open File)
Command + S (Save)
Command + T (Think of this as opening a Tab using "Open files & Folders") - Better alternative to Command + P
Command + U (Undo)
Command + V (Paste)
Command + W (Close File/Tab)
Command + X (Delete a line or selection)
Command + Y (Redo/Repeat)
Command + Z (Undo)
Command + , (Open User Settings)
Command + = (for Zoom in)
Command + - (for Zoom out)
Command + Up Arrow/Down Arrow (To go to the top and bottom of the Open File)
Command + Up Arrow/Down Arrow (Inside Find Console, go through history of searches)
Command + Right Arrow/Left Arrow (Jump to the End/Beginning of the line)
Command + Return (Insert a line after, no matter where the cursor is)
Command + ] (Indent the line, no matter where the cursor is)
Command + [ (Unindent the line, no matter where the cursor is)
Command + / (Toggle Comment)
Command + 1/2/3/4 (Switch between tabs)
// Muscle Memory (Shift based)
Uppercase/Keyboard Entries
Shift + Command + D (Duplicate line)
Shift + Command + F (Find & Replace in "Open Files & Folders")
Shift + Command + G (To jump backwards from one Search result to next)
Shift + Command + N (Opens a New Window)
Shift + Command + W (Close Window)
Shift + Command + P (Command Palette to access Menu Option)
Shift + Command + T (ReOpen Closed File/Tab)
Shift + Command + V (Paste and Indent)
Shift + Command + S (Save As)
Shift + Command + Return (Insert a line before, no matter where the cursor is)
Shift + Command + Right/Left Arrow (Select from the cursor to the End/Beginning of the line)
Shift + Command + Space (to select the entire statement/scope that the cursor is on)
Shift + Ctrl + M (Select all contents of the current parentheses)
Shift + Alt + Right/Left Arrow (Select the Word, with no spaces. Only works when cursor is on start of the word)
// Muscle Memory (Alt based)
Alt + 1/2 (Move files to window 1/2) Customization
Alt + Right/Left Arrow (Jump from End of Word to End of Word)
Alt + Select (Column Selection with Multiple Cursors)
Alt + Enter (Select them All and put multiple cursors for you to edit)
Alt + Command + C (Toggle Case)
Alt + Command + F (Find & Replace in Current file)
Alt + Command + N (Quick New File Addition)
Alt + Command + R (Toggle Regex)
Alt + Command + S (Save All)
Alt + Command + W (Toggle Word)
Alt + Command + <left-arrow> OR <right-arrow> (To cycle thru Open Tabs)
Alt + Command + 1/2/3/4 (for vertically split windows)
Alt + Command + / (Toggle Block Comment)
// Muscle Memory (Ctrl based)
Ctrl + G (Go to line)
Ctrl + M (Jump to closing Parentheses. Repeat to jump to opening parentheses)
Ctrl + 1/2 (Switch between split windows)
Ctrl + ` (Open Console to get Error Messages etc.)
Ctrl + Command + A (Alignment across multiple lines ex: Variable assignment)
Ctrl + Command + F for Toggling Fullscreen
Ctrl + Command + P (for switching Projects)
Ctrl + Command + T (Open Terminal to the folder where the file is)
Control + Command + G (multiple cursors: selects all occurrences of the word the cursor is on)
Ctrl + Command + Up Arrow OR Down Arrow (Move line/selection Up or Down)
Ctrl + Command + 1/2/3/4 (for horizontally split windows)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment