Skip to content

Instantly share code, notes, and snippets.

@tucq88
Last active December 16, 2021 14:11
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tucq88/461070550cd03b3360fa to your computer and use it in GitHub Desktop.
Save tucq88/461070550cd03b3360fa to your computer and use it in GitHub Desktop.
Eclipse shortcuts key bindings for Sublime Text 3 (OS X)
[
{ "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 }
]
}
]
@tucq88
Copy link
Author

tucq88 commented Feb 25, 2015

Change to shortcut on OSX , for Windows, you change change super to ctrl

@gvko
Copy link

gvko commented Feb 14, 2018

I copy-paste this whole array into the Preferences.sublime-settings - User and it gives me parse error. What am I missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment