Forked from beaugunderson/Default (OSX).sublime-keymap
Last active
August 29, 2015 14:26
-
-
Save aarongarciah/f826b4ebe9cae4b3b738 to your computer and use it in GitHub Desktop.
Sublime Text macros for converting to and from 2 and 4 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
[ | |
{ | |
"keys": ["super+shift+a"], | |
"command": "expand_selection", | |
"args": {"to": "tag"} }, | |
{ | |
"keys": ["ctrl+2"], | |
"command": "run_macro_file", | |
"args": { | |
"file": "Packages/User/to-2.sublime-macro" | |
} | |
}, | |
{ | |
"keys": ["ctrl+4"], | |
"command": "run_macro_file", | |
"args": { | |
"file": "Packages/User/to-4.sublime-macro" | |
} | |
}, | |
{ | |
"keys": ["ctrl+s"], | |
"command": "toggle_side_bar" | |
}, | |
] |
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
[ | |
{ "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" } | |
] |
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
[ | |
{ "args": { "set_translate_tabs": true }, "command": "unexpand_tabs" }, | |
{ "args": { "setting": "tab_size", "value": 4 }, "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