One common questions I’ve asked and seen asked quite a bit about Sublime Text is how to quickly and easily format HTML while editing. There isn’t a default key binding for this, but if you select all text and then go to:
|
1 |
Edit -> Lines -> Reindent |
Want to create your own keybinding? Go to Preferences, Key Bindings – User and add this line:
|
1 |
{ "keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false}} |
Enjoy!
Do your Windows Servers need an easy monitoring solution? Try Winsitter today!
Don't forget to follow me on Twitter! I'm @1kevgriff
Have the bytes gotten you bit? When in doubt, Consult with Griff