Skip to content

Instantly share code, notes, and snippets.

@mrmartineau mrmartineau/inc-dec.json
Last active Dec 18, 2015

Embed
What would you like to do?
Out of date Sublime Text 2 settings
[
{ "keys": ["alt+up"], "command": "inc_dec_value", "args": { "action": "inc_min" } },
{ "keys": ["alt+down"], "command": "inc_dec_value", "args": { "action": "dec_min" } },
{ "keys": ["super+up"], "command": "inc_dec_value", "args": { "action": "inc_max" } },
{ "keys": ["super+down"], "command": "inc_dec_value", "args": { "action": "dec_max" } },
{ "keys": ["super+alt+up"], "command": "inc_dec_value", "args": { "action": "inc_all" } },
{ "keys": ["super+alt+down"], "command": "inc_dec_value", "args": { "action": "dec_all" } }
]
[
{ "keys": ["super+."], "command": "close_tag" },
{ "keys": ["super+alt+shift+a"], "command": "alignment" },
{ "keys": ["super+alt+ctrl+a"], "command": "alignment" },
{ "keys": ["alt+up"], "command": "inc_dec_number", "args": { "delta": 1} },
{ "keys": ["alt+down"], "command": "inc_dec_number", "args": { "delta": -1} },
{ "keys": ["super+up"], "command": "inc_dec_number", "args": { "delta": 10} },
{ "keys": ["super+down"], "command": "inc_dec_number", "args": { "delta": -10} },
{ "keys": ["ctrl+shift+c"], "command": "convert_to_utf8" },
{ "keys": ["super+shift+alt+u"], "command": "UrlQuoteSelection" },
{ "keys": ["super+shift+alt+c"], "command": "CloseTagCommand" },
{ "keys": ["super+shift+t"], "command": "open_recent_files" },
{ "keys": ["ctrl+alt+forward_slash"], "command": "google_it" },
{ "keys": ["super+shift+8"], "command": "pep8_check" },
{ "keys": ["super+."], "command": "spaces-to-tabs" },
{ "keys": ["escape"], "command": "alternative_autocomplete", "context":
[
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "overlay_visible", "operator": "equal", "operand": false }
]
},
{ "keys": ["super+shift+c"], "command": "color_pick" },
{ "keys": ["ctrl+shift+b"], "command": "insert_snippet", "args": {"contents": "${TM_COMMENT_START/s*$//} ==${1/./=/g}==${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//} = ${1:Banner} =${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//} ==${1/./=/g}==${TM_COMMENT_END/^s*(.+)/ $1/}"}}
]
[
{"id": "side-bar-files-open-with",
"children":
[
// Espresso
{
"caption": "Espresso",
"id": "side-bar-files-open-with-espresso",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Espresso.app",
"extensions":"css" //open all even folders
}
},
// CSS Edit
{
"caption": "CSS Edit",
"id": "side-bar-files-open-with-cssedit",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "CSSEdit.app",
"extensions":"css" //any file with extension
}
},
{"caption":"-"},
// Browsers
{
"caption": "Chrome",
"id": "side-bar-files-open-with-chrome",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Chrome.app",
"extensions":"html|php" //any file with these extensions
}
},
{
"caption": "Firefox",
"id": "side-bar-files-open-with-firefox",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Firefox.app",
"extensions":"html|php" //any file with these extensions
}
},
{"caption":"-"},
// Photoshop
{
"caption": "Photoshop",
"id": "side-bar-files-open-with-photoshop",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Adobe Photoshop CS5.app",
"extensions":"psd|png|jpg|jpeg|gif" //any file with these extensions
}
},
// Preview
{
"caption": "Preview",
"id": "side-bar-files-open-with-preview",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Preview.app",
"extensions":"psd|png|jpg|jpeg|gif" //any file with these extensions
}
},
{"caption":"-"},
// Textmate
{
"caption": "Textmate",
"id": "side-bar-files-open-with-textmate",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Textmate.app",
"extensions":"html|php|js" //any file with these extensions
}
},
// Coda
{
"caption": "Coda",
"id": "side-bar-files-open-with-coda",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Coda.app",
"extensions":"html|php|js" //any file with these extensions
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.