sublime: windows/linux keymap
[
/* Eclipse keys */
// Go to anything menu
{ "keys": ["ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
// Shift+Enter to add a new line without going to end of the line
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} },
// Move lines up and down
{ "keys": ["alt+up"], "command": "swap_line_up" },
{ "keys": ["alt+down"], "command": "swap_line_down" },
// Close all tabs without closing sublime
{ "keys": ["shift+ctrl+w"], "command": "close_all" },
// Change selected texts case
{ "keys": ["shift+ctrl+y"], "command": "lower_case" },
{ "keys": ["shift+ctrl+x"], "command": "upper_case" },
// You don't actually need this but if you are used to use this in eclipse it will be good.
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
// Deleted current line
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
// Command palette should be easily accessible
{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
/* You may or may not want these */
// { "keys": ["ctrl+alt+j"], "command": "join_lines" },
// { "keys": ["ctrl+alt+down"], "command": "duplicate_line" },
/* Find commands */
// Search / Replace manu is way more usable then just search
{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "replace"} },
// I cannot use ctrl+k because a lot of sublime keys already uses it. but alt+ will just do
// Lets you immediatelly start searching kurrent word, continuously
// It's not exactly the same with eclipse because in eclipse you will simply go on
// finding last searched word if nothing else is selected, instead sublime will just
// automatically select current word
{ "keys": ["alt+k"], "command": "find_under" },
// This does the same but also creates a cursor on the next instance so you can edit them all at once
{ "keys": ["alt+g"], "command": "find_under_expand" },
/* Incredibly usefull comments shortcuts */
{ "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+8"], "command": "toggle_comment", "args": { "block": true } }
]