Skip to content

Instantly share code, notes, and snippets.

@dan-gamble
Created January 19, 2015 20:52
Show Gist options
  • Save dan-gamble/b45d0af6d5c8ac7d3e7f to your computer and use it in GitHub Desktop.
Save dan-gamble/b45d0af6d5c8ac7d3e7f 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"}]},
// Projects
{ "keys": ["super+alt+p"], "command": "prompt_select_workspace" },
// 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