Created
August 18, 2015 12:25
-
-
Save jdforsythe/4ac0617d6a59e6b6099e to your computer and use it in GitHub Desktop.
ST2 or ST3 macro to convert 4-space indentation to 2-space indentation
This file contains 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
Show hidden characters
[ | |
{ | |
"args": null, | |
"command": "select_all" | |
}, | |
{ | |
"args": { | |
"setting": "tab_size", | |
"value": 4 | |
}, | |
"command": "set_setting" | |
}, | |
{ | |
"args": { | |
"set_translate_tabs": true | |
}, | |
"command": "unexpand_tabs" | |
}, | |
{ | |
"args": { | |
"setting": "tab_size", | |
"value": 2 | |
}, | |
"command": "set_setting" | |
}, | |
{ | |
"args": { | |
"set_translate_tabs": true | |
}, | |
"command": "expand_tabs" | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment