Skip to content

Instantly share code, notes, and snippets.

@dan-gamble
Created January 19, 2015 14:34
Show Gist options
  • Save dan-gamble/b24f515c8c2a5317a640 to your computer and use it in GitHub Desktop.
Save dan-gamble/b24f515c8c2a5317a640 to your computer and use it in GitHub Desktop.
[
// Anaconda
{ "keys": ["super+b"], "command": "anaconda_goto" },
// Code manipulation
{ "keys": ["super+shift+r"], "command": "reindent" },
{ "keys": ["super+shift+up"], "command": "swap_line_up" },
{ "keys": ["super+shift+down"], "command": "swap_line_down" },
{ "keys": ["super+shift+delete"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["super+shift+c"], "command": "duplicate_line" },
// Code navigations
{ "keys": ["super+o"], "command": "goto_symbol_in_project" },
{ "keys": ["super+shift+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
// Code wrapping
{ "keys": ["super+shift+w"], "command": "wrap_as_you_type", "context": [{"operand": false, "operator": "equal", "match_all": true, "key": "setting.is_widget"}, {"match_all": true, "key": "emmet_action_enabled.wrap_as_you_type"}]},
// Focus
{ "keys": ["ctrl+1"], "command": "focus_side_bar" },
{ "keys": ["ctrl+2"], "command": "focus_group", "args": { "group": 0 } },
// Randoms
{ "keys": ["super+s"], "command": "save_all" },
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment