Last active
March 10, 2016 22:01
-
-
Save debuggingfuture/5652575 to your computer and use it in GitHub Desktop.
In Sublime Text 2 to use `Cmd-Shift-F` to reindent javascript with jsFormat without affecting other format, put this in the Key Bindings :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"keys": ["super+shift+f"], "command": "js_format" | |
}, | |
{ | |
"keys": ["super+shift+f"], "command": "reindent" | |
,"context": | |
[{ "key": "selector", "operator": "not_equal", "operand": "source.js"}, | |
{ "key": "selector", "operator": "not_equal", "operand": "source.json"} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment