Skip to content

Instantly share code, notes, and snippets.

@JamesPaden
Created April 23, 2013 20:26
Show Gist options
  • Save JamesPaden/5447096 to your computer and use it in GitHub Desktop.
Save JamesPaden/5447096 to your computer and use it in GitHub Desktop.
Sublime 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" },
{ "keys": ["shift+tab"], "command": "reindent" },
//MOVEMENT
{ "keys": ["ctrl+super+up"], "command": "swap_line_up" },
{ "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} },
{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 4.0} },
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -4.0} },
//OPEN
{ "keys": ["super+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["super+shift+o"], "command": "prompt_open" },
//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+s"], "command": "browser_refresh", "args": {
// "auto_save": true,
// "delay": 0.3,
// "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