Skip to content

Instantly share code, notes, and snippets.

@tomraithel
Created November 16, 2012 08:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tomraithel/4085463 to your computer and use it in GitHub Desktop.
Save tomraithel/4085463 to your computer and use it in GitHub Desktop.
SUBLIME: Eclipse-like key bindings (MAC)
[
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
{ "keys": ["alt+up"], "command": "swap_line_up" },
{ "keys": ["alt+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+shift+j"], "command": "join_lines" },
{ "keys": ["super+alt+down"], "command": "duplicate_line" },
{ "keys": ["shift+super+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["super+shift+s"], "command": "save_all" },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["super+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["super+alt+up"], "command": "run_macro_file", "args": {"file": "Packages/User/dup_line.sublime-macro"} },
{ "keys": ["super+shift+c"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+q"], "command": "find_under_expand" },
{ "keys": ["ctrl+shift+q"], "command": "find_under_expand_skip" },
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment