Skip to content

Instantly share code, notes, and snippets.

@morales2k
Last active December 20, 2015 05:49
Show Gist options
  • Save morales2k/6080845 to your computer and use it in GitHub Desktop.
Save morales2k/6080845 to your computer and use it in GitHub Desktop.
Sublime Text 2 reindent full document shortcut keybinding. This gist is to be added to user keybindings to set f12 key to issue the reindent command to the complete document instead of doing it to a single line as it does when doing it from the menu. One normally selects all the document before doing this command from the menu, with the argument…
[
{
"keys": ["f12"],
"command": "reindent",
"args": {
"single_line": false
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment