Skip to content

Instantly share code, notes, and snippets.

@trinonsense
Last active December 21, 2015 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save trinonsense/6258158 to your computer and use it in GitHub Desktop.
Save trinonsense/6258158 to your computer and use it in GitHub Desktop.
Daily Sublime Text Shortcuts
  • ⌘ + ⇧ + P pure magic
  • ⌘ + L select line - Repeat to select next lines
  • ⌘ + D select word - Repeat select others occurrences
  • ⌘ + ⇧ + D duplicate line
  • ⌘ + R go to function
  • ^ + ⇧ + K delete line
  • ^ + G go to line
  • ⌘ + ↩ insert line after
  • ⌘ + ⇧ + ↩ insert line before
  • ⌘ + ⌃ + up/down move line up/down
  • ⌘ + ⇧ + V Paste and indent correctly
  • ⌃ + ⇧ + up/down Column selection up/down
  • ⌘ + ] indent right
  • ⌘ + [ indent left
  • ⌘ + / line comment/un-comment current line
  • ⌘ + ⌥ + / block comment/un-comment highlighted chunk
  • ⌘ + ⌥ + N quickly create new file (with AdvancedNewFile)
  • ⌘ + T open file in project
  • ⌘ + ⇧ + T open last closed tab
  • ⌘ + ⌥ + left/right switch tab left/right
  • ⌘ + ⌥ + ⇧ + left/right move tab left/right (with MoveTab)
  • ⌘ + G go to next occurence of search match
  • ⌃ + L focus to the line of the cursor
  • ⌃ + K clear chars from cursor position to the end of the line
  • ⇧ + ⌘ + K edit both open and closing html tags (with emmet)
  • ⇧ + ⌘ + ' toggle single/double html tags (with emmet)
  • ⌃ + ⌘ + P switch workspace
  • ⌥ + ⌘ + S simultaneously save multiple unsaved tabs

###legend

  • command
  • shift
  • control
  • alt/option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment