Automatic Markup Indentation Shortcut - Sublime Text
In Sublime Text, you have the option of organizing all the indentation for a selection of text.
- Select all text you wish to have organized.
- Go to
Edit
>Line
>Reindent
- Enjoy!
I've went as far as adding a shortcut for this. To do this:
- Go to
Preferences
>Key Bindings - User
. - Add this as an entry in the array:
{ "keys": ["command+shift+r"], "command": "reindent" , "args": { "single_line": false } }
Written by Zain Syed
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime text
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#