Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text: Eclipse Shortcuts keymap
[
{ "keys": ["ctrl+shift+l"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
// Open File
// Save
{ "keys": ["ctrl+shift+s"], "command": "save_all" },
{ "keys": ["ctrl+f4"], "command": "close" },
// New file
{ "keys": ["shift+ctrl+f4"], "command": "close_all" },
// Properties
// Cut
// Paste
// Copy
// Move Statement Up
// Move Statement Down
// Beginning of Line
// End of Line
{ "keys": ["ctrl+alt+j"], "command": "join_lines" },
// Duplicate Line Up
{ "keys": ["ctrl+alt+down"], "command": "duplicate_line" },
{ "keys": ["alt+up"], "command": "swap_line_up" },
{ "keys": ["alt+down"], "command": "swap_line_down" },
{ "keys": ["ctrl+shift+up"], "command": "expand_selection", "args": {"to": "scope"} },
{ "keys": ["ctrl+shift+p"], "command": "move_to", "args": {"to": "brackets"} },
{ "keys": ["shift+ctrl+y"], "command": "lower_case" },
{ "keys": ["shift+ctrl+x"], "command": "upper_case" },
// Undo
// Redo
// Mark Region
// Delete
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
// Select all buffer content
{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} },
{ "keys": ["ctrl+j"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false} },
{ "keys": ["ctrl+shift+j"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": true} },
// Occurences in File
{ "keys": ["ctrl+h"], "command": "show_panel", "args": {"panel": "find_in_files"} },
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
// Goto Last Edit Location
// Split Editor Horizontally
// Split Editor Veritacally
{ "keys": ["ctrl+shift+,"], "command": "clone_file" },
// Horizontal Split View
// Split Vertically View
// Switch Tab Right
// Switch Tab Left
{ "keys": ["ctrl+f6"], "command": "next_view_in_stack" },
{ "keys": ["ctrl+shift+f6"], "command": "prev_view_in_stack" },
{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+/"], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["ctrl+shift+f"], "command": "reindent" , "args": {"single_line": false}},
{ "keys": ["ctrl+i"], "command": "reindent" , "args": {"single_line": true}},
// Shift Right
// Shift Left
// Organize imports
// Add Import
// Open declaration
// Open Type Hierarchy
// Open Type in Hierarchy
// Show outline
// Next problem
// Previous Problem
// Open Javadoc
// Show all declarations of selection
// Show all references to selection
{ "keys": ["shift+ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
// Add Task
// Expand Selection to Right/Left
{ "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