Skip to content

Instantly share code, notes, and snippets.

@emadb
Created May 20, 2016 13:21
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 emadb/e40f99a3067b07b0fc8421080c498f2c to your computer and use it in GitHub Desktop.
Save emadb/e40f99a3067b07b0fc8421080c498f2c to your computer and use it in GitHub Desktop.
Sublime Text Shorcuts

##Text Editing

  • Insert line before - Cmd + Shift + Return
  • Insert line after - Cmd + Return
  • Delete the word backward - Option + Delete
  • Delete the word forward - fn + Option + Delete
  • Delete to beginning of the line - Cmd + Delete
  • Delete to end of the line - Ctrl + K
  • Delete word back - Option + Delete
  • Delete word forward - fn + Option + Delete
  • Soft undo - Cmd + U
  • Soft redo - Cmd + Shift + U
  • Delete a line - Ctrl + Shift + K
  • Cut a line - Cmd + X
  • Duplicate line - Shift + Cmd + D
  • Lower case - Cmd + K, Cmd + L
  • Upper case - Cmd + K, Cmd + U
  • Join two lines - Cmd + J
  • Bubble the line up - Ctrl + Cmd + up
  • Bubble the line down - Ctrl + Cmd + down
  • Sort selected lines - F5
  • Paste from history - Cmd + Alt + V

Selection

  • Multiple cursors - Cmd key with left mouse button
  • Column selection using mouse - Ctrl + Shift + up|down [Option + click and drag]
  • Split the selections into multiple lines - Cmd + Shift + L
  • Select word with multiple occurrences - Cmd - D
  • Select line - Cmd + L
  • Select content between the brackets - Ctrl + Shift + M
  • Expand selection to indentation - Cmd + Shift + J
  • Expand selection to scope - Cmd + Shift + Space

Navigation

  • Goto line - Ctrl + G
  • Goto anything - Cmd + P
  • Goto anywhere - Cmd + T
  • Goto symbol - Cmd + R
  • Search symbol in project - Cmd + Shift + R
  • Goto definition - Cmd + Option + down
  • Goto beginning of a line - Ctrl + A / Cmd + left
  • Goto end of a line - Ctrl + E / Cmd + right
  • Goto matching bracket - Ctrl + M
  • Jump back in history - Ctrl + -
  • Jump forward in history - Ctrl + Shift + -
  • Fold one level - Cmd + Option + [
  • Unfold code one level - Cmd + Option + ]
  • Find - Cmd + F
  • Find next - Cmd + G
  • Find previous - Cmd + Shift + G
  • Find all - Alt + Return (when find panel is open)
  • Use selection for find - Cmd + E
  • Replace panel - Cmd + Option + F
  • Replace next - Cmd + Option + E
  • Replace all - Ctrl + Option + Return (Only when replace panel is open)
  • Search for the currently selected term- Cmd + Option + G
  • Find in project - Cmd + Shift + F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment