Skip to content

Instantly share code, notes, and snippets.

@hongmengwang
Forked from tucq88/Sublime Text 3 | Eclipse - Shortcuts
Last active December 17, 2021 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hongmengwang/17a81c24f4e3e303144639fd1f1e535c to your computer and use it in GitHub Desktop.
Save hongmengwang/17a81c24f4e3e303144639fd1f1e535c to your computer and use it in GitHub Desktop.
macOS Eclipse shortcuts key bindings for Sublime Text 3
[
{ "keys": ["super+shift+w"], "command": "close_all" },
{ "keys": ["super+shift+s"], "command": "save_all" },
{ "keys": ["alt+up"], "command": "swap_line_up" },
{ "keys": ["alt+down"], "command": "swap_line_down" },
{ "keys": ["super+alt+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+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["ctrl+h"], "command": "show_panel", "args": {"panel": "find_in_files"} },
{ "keys": ["shift+super+y"], "command": "lower_case" },
{ "keys": ["shift+super+x"], "command": "upper_case" },
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
{ "keys": ["super+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["super+shift+f"], "command": "code_formatter"},
{ "keys": ["super+minus"], "command": "fold" },
{ "keys": ["super+equals"], "command": "unfold" },
{ "keys": ["super+plus"], "command": "unfold" },
{ "keys": ["super+shift+\\"], "command": "unfold_all" },
{ "keys": ["ctrl+plus"], "command": "increase_font_size" },
{ "keys": ["ctrl+equals"], "command": "increase_font_size" },
{ "keys": ["ctrl+minus"], "command": "decrease_font_size" },
{ "keys": ["ctrl+space"], "command": "auto_complete" },
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
[
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment