Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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}}



Ah, lovely, thanks! Note, just replace "command" with "ctrl" for Windows


I think you can use 'super' for cross platform compatibility.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: