Skip to content

Instantly share code, notes, and snippets.

@roine
Last active December 25, 2015 18:19
Show Gist options
  • Select an option

  • Save roine/7019536 to your computer and use it in GitHub Desktop.

Select an option

Save roine/7019536 to your computer and use it in GitHub Desktop.
Useful shortcuts in ST2
- CTRL+D, **Select a word and all its occurrence**
- CTRL+SHIFT+D, **Copy paste the current line**
- CTRL+M, **Move the caret to the closest bracket or curly bracket**
- CTRL+SHIFT+M, **Select content into the the closest bracket or curly bracket**
- CTRL+L, **Select the current line**
- CTRL+SHIFT+L, **add a caret at the end of each line selected**
- CTRL+K+K, **Delete all the content on the right of the caret**
- CTRL+SHIFT+K, **Delete the current line**
- CTRL+W, **close the current tab**
- CTRL+SHIFT+G, **Wrap content with a tag, can use zen coding**
- CTRL+G, **to go to a specific line, useful for debugging a error message**
- CTRL+P, **Goto anything, ex: .css@article will go to article tag in any css file**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment