Skip to content

Instantly share code, notes, and snippets.

@clintfisher
Last active April 1, 2017 00:23
Show Gist options
  • Save clintfisher/3912411 to your computer and use it in GitHub Desktop.
Save clintfisher/3912411 to your computer and use it in GitHub Desktop.
Textmate style selection reformat with Sublime Text 2
Preferences > Key Bindings - User
Add:
[
{ "keys": ["command+shift+r"], "command": "reindent" , "args": { "single_line": false } }
]
The argument allows the command to also work on the entire file in addition to a selection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment