Skip to content

Instantly share code, notes, and snippets.

@RaphaelDDL
Last active August 29, 2015 14:03
Show Gist options
  • Save RaphaelDDL/da3961e1675617e22ade to your computer and use it in GitHub Desktop.
Save RaphaelDDL/da3961e1675617e22ade to your computer and use it in GitHub Desktop.
RaphaelDDL's Default (OSX).sublime-keymap
[{
"keys": ["f12"],
"command": "reindent"
}, {
"keys": ["f10"],
"command": "js_format",
"context": [{
"key": "selector",
"operator": "equal",
"operand": "source.js,source.json"
}]
}, {
"keys": ["f10"],
"command": "sass_beautify",
"context": [{
"key": "selector",
"operator": "equal",
"operand": "source.css,source.sass,source.scss"
}]
}, {
"keys": ["f9"],
"command": "run_multiple",
"args": {
"commands": [{
"command": "set_setting",
"args": {
"setting": "set_line_ending",
"value": "unix"
}
}, {
"command": "unexpand_tabs",
"args": {
"set_translate_tabs": true,
"tab_size": 4
}
}, {
"command": "set_setting",
"args": {
"setting": "tab_size",
"value": 4
}
}]
}
}, {
"keys": ["shift+f9"],
"command": "run_multiple",
"args": {
"commands": [{
"command": "set_setting",
"args": {
"setting": "set_line_ending",
"value": "unix"
}
}, {
"command": "expand_tabs",
"args": {
"set_translate_tabs": true,
"tab_size": 4
}
}, {
"command": "set_setting",
"args": {
"setting": "tab_size",
"value": 4
}
}]
}
}, {
"keys": ["f8"],
"command": "goto_definition"
}, {
"keys": ["f5"],
"command": "add_date"
}, {
"keys": ["ctrl+shift+s"],
"command": "save_all"
}, {
"keys": ["ctrl+alt+s"],
"command": "prompt_save_as"
}, {
"keys": ["ctrl+g"],
"command": "encode_html_entities"
}, {
"keys": ["ctrl+tab"],
"command": "next_view_in_pane"
}, {
"keys": ["ctrl+shift+tab"],
"command": "prev_view_in_pane"
}, {
"keys": ["ctrl+q"],
"command": "hot_exit"
}, {
"keys": ["ctrl+shift+n"],
"command": "new_window"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment