Last Updated: February 25, 2016
·
656
· zeddotes

Automatic Markup Indentation Shortcut - Sublime Text

In Sublime Text, you have the option of organizing all the indentation for a selection of text.

  1. Select all text you wish to have organized.
  2. Go to Edit > Line > Reindent
  3. Enjoy!

I've went as far as adding a shortcut for this. To do this:

  1. Go to Preferences > Key Bindings - User.
  2. Add this as an entry in the array: { "keys": ["command+shift+r"], "command": "reindent" , "args": { "single_line": false } }