Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mac OS ST3 keyboard mappings diff
["super+alt+up"]: "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} },
["super+alt+s"]: "save_all" },
["super+ctrl+f"]: "toggle_full_screen" },
["super+ctrl+shift+f"]: "toggle_distraction_free" },
["super+option+v"]: "paste_from_history" },
["ctrl+alt+left"]: "move", "args": {"by": "subwords", "forward": false} },
["ctrl+alt+right"]: "move", "args": {"by": "subword_ends", "forward": true} },
["ctrl+alt+shift+left"]: "move", "args": {"by": "subwords", "forward": false, "extend": true} },
["ctrl+alt+shift+right"]: "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
["ctrl+left"]: "move", "args": {"by": "subwords", "forward": false} },
["ctrl+right"]: "move", "args": {"by": "subword_ends", "forward": true} },
["ctrl+shift+left"]: "move", "args": {"by": "subwords", "forward": false, "extend": true} },
["ctrl+shift+right"]: "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },
["ctrl+alt+up"]: "scroll_lines", "args": {"amount": 1.0} },
["ctrl+alt+down"]: "scroll_lines", "args": {"amount": -1.0} },
["ctrl+shift+up"]: "select_lines", "args": {"forward": false} },
["ctrl+shift+down"]: "select_lines", "args": {"forward": true} },
["super+shift+["]: "prev_view" },
["super+shift+]"]: "next_view" },
["super+alt+left"]: "prev_view" },
["super+alt+right"]: "next_view" },
["ctrl+tab"]: "next_view_in_stack" },
["ctrl+shift+tab"]: "prev_view_in_stack" },
["super+]"]: "indent" },
["super+["]: "unindent" },
["ctrl+shift+m"]: "expand_selection", "args": {"to": "brackets"} },
["ctrl+m"]: "move_to", "args": {"to": "brackets"} },
["super+alt+."]: "close_tag" },
["ctrl+q"]: "toggle_record_macro" },
["ctrl+shift+q"]: "run_macro" },
["super+t"]: "show_overlay", "args": {"overlay": "goto", "show_files": true} },
["super+ctrl+p"]: "prompt_select_workspace" },
["ctrl+g"]: "show_overlay", "args": {"overlay": "goto", "text": ":"} },
["super+alt+down"]: "goto_definition" },
["ctrl+minus"]: "jump_back" },
["ctrl+shift+minus"]: "jump_forward" },
["super+alt+f"]: "show_panel", "args": {"panel": "replace", "reverse": false} },
["super+alt+e"]: "replace_next" },
["super+g"]: "find_next" },
["super+shift+g"]: "find_prev" },
["alt+super+g"]: "find_under" },
["shift+alt+super+g"]: "find_under_prev" },
["ctrl+super+g"]: "find_all_under" },
["ctrl+f6"]: "next_misspelling" },
["ctrl+shift+f6"]: "prev_misspelling" },
["ctrl+super+up"]: "swap_line_up" },
["ctrl+super+down"]: "swap_line_down" },
["ctrl+backspace"]: "delete_word", "args": { "forward": false, "sub_words": true } },
["ctrl+delete"]: "delete_word", "args": { "forward": true, "sub_words": true } },
["super+forward_slash"]: "toggle_comment", "args": { "block": false } },
["super+alt+forward_slash"]: "toggle_comment", "args": { "block": true } },
["ctrl+backquote"]: "show_panel", "args": {"panel": "console", "toggle": true} },
["ctrl+space"]: "auto_complete" },
["ctrl+space"]: "replace_completion_with_auto_complete", "context":
["super+alt+p"]: "show_scope_name" },
["ctrl+shift+p"]: "show_scope_name" },
["ctrl+c"]: "exec", "args": {"kill": true} },
["ctrl+t"]: "transpose" },
["f5"]: "sort_lines", "args": {"case_sensitive": false} },
["ctrl+f5"]: "sort_lines", "args": {"case_sensitive": true} },
["super+alt+1"]: "set_layout: 1 column",
["super+alt+2"], "set_layout: 2 columns",
["super+alt+3"], "set_layout: 3 columns",
["super+alt+4"], "set_layout: 4 columns",
["super+alt+shift+2"], "set_layout: 2 rows",
["super+alt+shift+3"],"set_layout: 3 rows",
["super+alt+5"], "set_layout: 2x2",
["ctrl+1"]: "focus_group", "args": { "group": 0 } },
["ctrl+2"]: "focus_group", "args": { "group": 1 } },
["ctrl+3"]: "focus_group", "args": { "group": 2 } },
["ctrl+4"]: "focus_group", "args": { "group": 3 } },
["ctrl+5"]: "focus_group", "args": { "group": 4 } },
["ctrl+6"]: "focus_group", "args": { "group": 5 } },
["ctrl+7"]: "focus_group", "args": { "group": 6 } },
["ctrl+8"]: "focus_group", "args": { "group": 7 } },
["ctrl+9"]: "focus_group", "args": { "group": 8 } },
["ctrl+shift+1"]: "move_to_group", "args": { "group": 0 } },
["ctrl+shift+2"]: "move_to_group", "args": { "group": 1 } },
["ctrl+shift+3"]: "move_to_group", "args": { "group": 2 } },
["ctrl+shift+4"]: "move_to_group", "args": { "group": 3 } },
["ctrl+shift+5"]: "move_to_group", "args": { "group": 4 } },
["ctrl+shift+6"]: "move_to_group", "args": { "group": 5 } },
["ctrl+shift+7"]: "move_to_group", "args": { "group": 6 } },
["ctrl+shift+8"]: "move_to_group", "args": { "group": 7 } },
["ctrl+shift+9"]: "move_to_group", "args": { "group": 8 } },
["ctrl+0"]: "focus_side_bar" },
["super+1"]: "select_by_index", "args": { "index": 0 } },
["super+2"]: "select_by_index", "args": { "index": 1 } },
["super+3"]: "select_by_index", "args": { "index": 2 } },
["super+4"]: "select_by_index", "args": { "index": 3 } },
["super+5"]: "select_by_index", "args": { "index": 4 } },
["super+6"]: "select_by_index", "args": { "index": 5 } },
["super+7"]: "select_by_index", "args": { "index": 6 } },
["super+8"]: "select_by_index", "args": { "index": 7 } },
["super+9"]: "select_by_index", "args": { "index": 8 } },
["super+0"]: "select_by_index", "args": { "index": 9 } },
["super+plus"]: "increase_font_size" },
["super+minus"]: "decrease_font_size" },
["ctrl+shift+w"]: "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" } },
["ctrl+shift+k"]: "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
["super+alt+q"]: "wrap_lines" },
["super+alt+["]: "fold" },
["super+alt+]"]: "unfold" },
["super+alt+o"]: "toggle_overwrite" },
["alt+f2"]: "context_menu" },
["super+alt+c"]: "toggle_case_sensitive", "context":
["super+alt+r"]: "toggle_regex", "context":
["super+alt+w"]: "toggle_whole_word", "context":
["super+alt+a"]: "toggle_preserve_case", "context":
["ctrl+alt+enter"]: "replace_all", "args": {"close_panel": true},
["super+,"]: "open_file", "args": {"file": "${packages}/User/Preferences.sublime-settings"} },
// These are OS X built in commands, and don't need to be listed here, but
// doing so lets them show up in the menu
["ctrl+y"]: "yank" },
["super+backspace"]: "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"} },
// super+delete isn't a built in command, but makes sense anyway
["super+delete"]: "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} },
["ctrl+k"]: "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} },
["ctrl+l"]: "show_at_center" },
["ctrl+o"]: "insert_snippet", "args": { "contents": "$0\n" } },
["ctrl+super+d"]: "noop" },
["ctrl+super+shift+d"]: "noop" },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.