Skip to content

Instantly share code, notes, and snippets.

@TonyWael
Forked from MauricioKruijer/Sublime-Shortcuts.md
Created September 10, 2013 17:51
Show Gist options
  • Save TonyWael/6513011 to your computer and use it in GitHub Desktop.
Save TonyWael/6513011 to your computer and use it in GitHub Desktop.

Always forgetting shortcuts.

  • ALT+SHIFT+W To wrap your selected content with a html tag, just selected your text, then press Alt-Shift-W. You'll then have the option to fill in the front and back tag simultaneously. https://coderwall.com/p/d1qphg
  • CMD+L Select current line.
  • CMD+X Delete line.
  • CMD+R Go to method
  • CMD+P ":121" go to specific line number
  • CMD+P file:n go to specific line number in file
  • CMD+P file@method go to specific method in file
  • CMD+SHIFT+D Duplicate current line
  • CMD+D Select current word, multiple times cmd+d will select the next occurrence. Very handy for "refactoring"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment