News for hackers. Stuff that matters.
Re:Sublime Text 3 Public Beta by blahbap on Friday June 28, 2013 @08:01AM (#5957460)
Anyone know a way to auto-indent lines when working with HTML/Javascript? I feel the "Select text - Reindent" process is cumbersome
Re:Sublime Text 3 Public Beta by filip01 on Friday June 28, 2013 @08:23AM (#5957543)
Put this in your user key bindings and then you can auto-indent with cmd+shift+g:

{ "keys": ["command+shift+g"], "command": "reindent", "args": {"single_line": false}}

Re:Sublime Text 3 Public Beta by blahbap on Friday June 28, 2013 @08:28AM (#5957560)
Ah, lovely, thanks! Note, just replace "command" with "ctrl" for Windows
Re:Sublime Text 3 Public Beta by danielsamuels on Friday June 28, 2013 @09:50AM (#5957937)
I think you can use 'super' for cross platform compatibility.
Re:Sublime Text 3 Public Beta by Raphmedia on Friday June 28, 2013 @08:12AM (#5957503)
Simply open the command pallet with the shortcut and press "re" then enter. (At least, in Sublime Text 2)