Skip to content

Instantly share code, notes, and snippets.

@JamesPaden
Created March 15, 2013 15:21
Show Gist options
  • Save JamesPaden/5170618 to your computer and use it in GitHub Desktop.
Save JamesPaden/5170618 to your computer and use it in GitHub Desktop.
Sublime Custom Shortcuts
[
//FOCUS GROUP
{ "keys": ["super+ctrl+1"], "command": "focus_group", "args": { "group": 0 } },
{ "keys": ["super+ctrl+2"], "command": "focus_group", "args": { "group": 1 } },
{ "keys": ["super+ctrl+3"], "command": "focus_group", "args": { "group": 2 } },
{ "keys": ["super+ctrl+4"], "command": "focus_group", "args": { "group": 3 } },
{ "keys": ["super+ctrl+5"], "command": "focus_group", "args": { "group": 4 } },
{ "keys": ["super+ctrl+6"], "command": "focus_group", "args": { "group": 5 } },
{ "keys": ["super+ctrl+7"], "command": "focus_group", "args": { "group": 6 } },
{ "keys": ["super+ctrl+8"], "command": "focus_group", "args": { "group": 7 } },
{ "keys": ["super+ctrl+9"], "command": "focus_group", "args": { "group": 8 } },
//TABS
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
//MOVEMENT
{ "keys": ["super+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["super+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["ctrl+v"], "command": "move", "args": {"by": "pages", "forward": false} },
{ "keys": ["ctrl+f"], "command": "move", "args": {"by": "pages", "forward": true} },
//OPEN
{ "keys": ["super+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
//tab always reindents
{ "keys": ["alt+tab"], "command": "reindent" },
//CUT/PASTE
{ "keys": ["ctrl+k"], "command": "cut" },
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
//REFRESH
{
"keys": ["super+r"], "command": "browser_refresh", "args": {
"auto_save": true,
"delay": 0.6,
"activate_browser": false,
"browser_name" : "Google Chrome"
}
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment