Skip to content

Instantly share code, notes, and snippets.

@giiska
Created November 13, 2014 06:46
Show Gist options
  • Save giiska/b8d7a98338ba256a353d to your computer and use it in GitHub Desktop.
Save giiska/b8d7a98338ba256a353d to your computer and use it in GitHub Desktop.
convert 2 tab or 4 space to 2 space in sublime text
[
{
"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