Last active
December 3, 2021 16:14
-
-
Save matthewblott/67aa3f6072627e4910e2880c299e176e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "keys": ["super+q"], "command": "exit" }, | |
{ "keys": ["super+shift+n"], "command": "new_window" }, | |
{ "keys": ["super+shift+w"], "command": "close_window" }, | |
{ "keys": ["super+o"], "command": "prompt_open_file" }, | |
// { "keys": ["super+shift+t"], "command": "reopen_last_file" }, | |
{ "keys": ["super+n"], "command": "new_file" }, | |
{ "keys": ["super+s"], "command": "save", "args": { "async": true } }, | |
{ "keys": ["super+shift+s"], "command": "prompt_save_as" }, | |
// { "keys": ["super+f4"], "command": "close_file" }, | |
{ "keys": ["super+w"], "command": "close" }, | |
{ "keys": ["super+w"], "command": "close_transient", "context": | |
[ | |
{ "key": "group_has_transient_sheet", "operator": "equal", "operand": true } | |
] | |
}, | |
{ "keys": ["super+k", "super+b"], "command": "toggle_side_bar" }, | |
// { "keys": ["super+shift+backspace"], "command": "left_delete" }, | |
{ "keys": ["super+z"], "command": "undo" }, | |
{ "keys": ["super+shift+z"], "command": "redo" }, | |
// { "keys": ["super+y"], "command": "redo_or_repeat" }, | |
// { "keys": ["super+u"], "command": "soft_undo" }, | |
// { "keys": ["super+shift+u"], "command": "soft_redo" }, | |
// { "keys": ["super+insert"], "command": "copy" }, | |
{ "keys": ["super+enter"], "command": "select", "args": { "extend": true, "clear_to_right": true }, "context": | |
[ | |
{ "key": "overlay_has_focus", "operator": "equal", "operand": true }, | |
{ "key": "overlay_name", "operator": "equal", "operand" : "goto" } | |
], | |
}, | |
// { "keys": ["super+keypad_enter"], "command": "select", "args" : { "extend": true, "clear_to_right": true }, "context": | |
// [ | |
// { "key": "overlay_has_focus", "operator": "equal", "operand": true }, | |
// { "key": "overlay_name", "operator": "equal", "operand" : "goto" } | |
// ], | |
// }, | |
{ "keys": ["super+x"], "command": "cut" }, | |
{ "keys": ["super+c"], "command": "copy" }, | |
{ "keys": ["super+v"], "command": "paste" }, | |
// { "keys": ["super+shift+v"], "command": "paste_and_indent" }, | |
// { "keys": ["super+k", "super+v"], "command": "paste_from_history" }, | |
// { "keys": ["super+left"], "command": "move", "args": {"by": "words", "forward": false} }, | |
// { "keys": ["super+right"], "command": "move", "args": {"by": "word_ends", "forward": true} }, | |
// { "keys": ["super+shift+left"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} }, | |
// { "keys": ["super+shift+right"], "command": "move", "args": {"by": "word_ends", "forward": true, "extend": true} }, | |
// { "keys": ["super+home"], "command": "move_to", "args": {"to": "bof", "extend": false} }, | |
// { "keys": ["super+end"], "command": "move_to", "args": {"to": "eof", "extend": false} }, | |
// { "keys": ["super+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true} }, | |
// { "keys": ["super+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} }, | |
// { "keys": ["super+up"], "command": "scroll_lines", "args": {"amount": 1.0 } }, | |
// { "keys": ["super+down"], "command": "scroll_lines", "args": {"amount": -1.0 } }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["super+a"], "command": "select_all" }, | |
// { "keys": ["super+shift+l"], "command": "split_selection_into_lines" }, | |
// { "keys": ["super+]"], "command": "indent" }, | |
// { "keys": ["super+["], "command": "unindent" }, | |
// { "keys": ["super+l"], "command": "expand_selection", "args": {"to": "line"} }, | |
// { "keys": ["super+d"], "command": "find_under_expand" }, | |
// { "keys": ["super+k", "super+d"], "command": "find_under_expand_skip" }, | |
// { "keys": ["super+shift+space"], "command": "expand_selection", "args": {"to": "scope"} }, | |
// { "keys": ["super+shift+a"], "command": "expand_selection", "args": {"to": "smart"} }, | |
// { "keys": ["super+shift+m"], "command": "expand_selection", "args": {"to": "brackets"} }, | |
// { "keys": ["super+m"], "command": "move_to", "args": {"to": "brackets"} }, | |
// { "keys": ["super+shift+a"], "command": "expand_selection", "args": {"to": "tag"}, "context": | |
// [ | |
// { "key": "selector", "operator": "equal", "operand": "(text.html, text.xml) - source", "match_all": true } | |
// ] | |
// }, | |
// { "keys": ["super+alt+q"], "command": "toggle_record_macro" }, | |
// { "keys": ["super+alt+shift+q"], "command": "run_macro" }, | |
// { "keys": ["super+keypad_enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"}, "context": | |
// [ | |
// { "key": "overlay_has_focus", "operator": "equal", "operand": false } | |
// ] | |
// }, | |
// { "keys": ["super+shift+keypad_enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"} }, | |
// { "keys": ["super+enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"}, "context": | |
// [ | |
// { "key": "overlay_has_focus", "operator": "equal", "operand": false } | |
// ] | |
// }, | |
// { "keys": ["super+shift+enter"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"} }, | |
// { "keys": ["super+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["super+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, | |
// { "keys": ["super+alt+p"], "command": "prompt_select_workspace" }, | |
// { "keys": ["super+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }, | |
// { "keys": ["super+g"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, | |
// { "keys": ["super+;"], "command": "show_overlay", "args": {"overlay": "goto", "text": "#"} }, | |
// { "keys": ["super+f12"], "command": "goto_definition", "args": {"side_by_side": true, "clear_to_right": true} }, | |
// { "keys": ["super+shift+f12"], "command": "goto_reference", "args": {"side_by_side": true, "clear_to_right": true} }, | |
// { "keys": ["super+shift+r"], "command": "goto_symbol_in_project" }, | |
{ "keys": ["super+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false} }, | |
{ "keys": ["super+shift+i"], "command": "show_panel", "args": {"panel": "incremental_find", "reverse": true} }, | |
{ "keys": ["super+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} }, | |
{ "keys": ["super+h"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} }, | |
{ "keys": ["super+shift+h"], "command": "replace_next" }, | |
// { "keys": ["super+f3"], "command": "find_under" }, | |
// { "keys": ["super+shift+f3"], "command": "find_under_prev" }, | |
// { "keys": ["super+e"], "command": "slurp_find_string" }, | |
// { "keys": ["super+shift+e"], "command": "slurp_replace_string" }, | |
// { "keys": ["super+shift+f"], "command": "show_panel", "args": {"panel": "find_in_files"} }, | |
// { "keys": ["super+."], "command": "next_modification" }, | |
// { "keys": ["super+,"], "command": "prev_modification" }, | |
// { "keys": ["super+k", "super+z"], "command": "revert_hunk" }, | |
// { "keys": ["super+k", "super+shift+z"], "command": "revert_modification" }, | |
// { "keys": ["super+k", "super+/"], "command": "toggle_inline_diff" }, | |
// { "keys": ["super+k", "super+;"], "command": "toggle_inline_diff", "args": { "prefer_hide": true } }, | |
// { "keys": ["super+f6"], "command": "next_misspelling" }, | |
// { "keys": ["super+shift+f6"], "command": "prev_misspelling" }, | |
// { "keys": ["super+shift+up"], "command": "swap_line_up" }, | |
// { "keys": ["super+shift+down"], "command": "swap_line_down" }, | |
// { "keys": ["super+backspace"], "command": "delete_word", "args": { "forward": false } }, | |
// { "keys": ["super+shift+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"} }, | |
// { "keys": ["super+delete"], "command": "delete_word", "args": { "forward": true } }, | |
// { "keys": ["super+shift+delete"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} }, | |
{ "keys": ["super+/"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["super+shift+/"], "command": "toggle_comment", "args": { "block": true } }, | |
// { "keys": ["super+j", "super+j"], "command": "primary_j_changed" }, | |
// { "keys": ["super+shift+j"], "command": "join_lines" }, | |
// { "keys": ["super+shift+d"], "command": "duplicate_line" }, | |
// { "keys": ["super+`"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }, | |
// { "keys": ["super+space"], "command": "auto_complete" }, | |
// { "keys": ["super+alt+shift+p"], "command": "show_scope_name" }, | |
// { "keys": ["super+b"], "command": "build" }, | |
// { "keys": ["super+shift+b"], "command": "build", "args": {"select": true} }, | |
// { "keys": ["super+break"], "command": "cancel_build" }, | |
// { "keys": ["super+t"], "command": "transpose" }, | |
// { "keys": ["super+f9"], "command": "sort_lines", "args": {"case_sensitive": true} }, | |
// { "keys": ["super+1"], "command": "focus_group", "args": { "group": 0 } }, | |
// { "keys": ["super+2"], "command": "focus_group", "args": { "group": 1 } }, | |
// { "keys": ["super+3"], "command": "focus_group", "args": { "group": 2 } }, | |
// { "keys": ["super+4"], "command": "focus_group", "args": { "group": 3 } }, | |
// { "keys": ["super+5"], "command": "focus_group", "args": { "group": 4 } }, | |
// { "keys": ["super+6"], "command": "focus_group", "args": { "group": 5 } }, | |
// { "keys": ["super+7"], "command": "focus_group", "args": { "group": 6 } }, | |
// { "keys": ["super+8"], "command": "focus_group", "args": { "group": 7 } }, | |
// { "keys": ["super+9"], "command": "focus_group", "args": { "group": 8 } }, | |
// { "keys": ["super+shift+1"], "command": "move_to_group", "args": { "group": 0 } }, | |
// { "keys": ["super+shift+2"], "command": "move_to_group", "args": { "group": 1 } }, | |
// { "keys": ["super+shift+3"], "command": "move_to_group", "args": { "group": 2 } }, | |
// { "keys": ["super+shift+4"], "command": "move_to_group", "args": { "group": 3 } }, | |
// { "keys": ["super+shift+5"], "command": "move_to_group", "args": { "group": 4 } }, | |
// { "keys": ["super+shift+6"], "command": "move_to_group", "args": { "group": 5 } }, | |
// { "keys": ["super+shift+7"], "command": "move_to_group", "args": { "group": 6 } }, | |
// { "keys": ["super+shift+8"], "command": "move_to_group", "args": { "group": 7 } }, | |
// { "keys": ["super+shift+9"], "command": "move_to_group", "args": { "group": 8 } }, | |
// { "keys": ["super+0"], "command": "focus_side_bar" }, | |
// { "keys": ["super+k", "super+up"], "command": "new_pane" }, | |
// { "keys": ["super+k", "super+shift+up"], "command": "new_pane", "args": {"move": false} }, | |
// { "keys": ["super+k", "super+down"], "command": "close_pane" }, | |
// { "keys": ["super+k", "super+left"], "command": "focus_neighboring_group", "args": {"forward": false} }, | |
// { "keys": ["super+k", "super+right"], "command": "focus_neighboring_group" }, | |
// { "keys": ["super+k", "super+shift+left"], "command": "move_to_neighboring_group", "args": {"forward": false} }, | |
// { "keys": ["super+k", "super+shift+right"], "command": "move_to_neighboring_group" }, | |
// { "keys": ["super+j", "super+up"], "command": "unselect_others" }, | |
// { "keys": ["super+j", "super+left"], "command": "unselect_to_left" }, | |
// { "keys": ["super+j", "super+right"], "command": "unselect_to_right" }, | |
// { "keys": ["super+j", "super+shift+left"], "command": "select_to_left" }, | |
// { "keys": ["super+j", "super+shift+right"], "command": "select_to_right" }, | |
// { "keys": ["super+j", "super+pageup"], "command": "focus_to_left" }, | |
// { "keys": ["super+j", "super+pagedown"], "command": "focus_to_right" }, | |
// { "keys": ["super+f2"], "command": "toggle_bookmark" }, | |
// { "keys": ["super+shift+f2"], "command": "clear_bookmarks" }, | |
// { "keys": ["super+shift+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["super+k", "super+u"], "command": "upper_case" }, | |
{ "keys": ["super+k", "super+l"], "command": "lower_case" }, | |
// { "keys": ["super+k", "super+space"], "command": "set_mark" }, | |
// { "keys": ["super+k", "super+a"], "command": "select_to_mark" }, | |
// { "keys": ["super+k", "super+w"], "command": "delete_to_mark" }, | |
// { "keys": ["super+k", "super+x"], "command": "swap_with_mark" }, | |
// { "keys": ["super+k", "super+y"], "command": "yank" }, | |
// { "keys": ["super+k", "super+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} }, | |
// { "keys": ["super+k", "super+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"} }, | |
// { "keys": ["super+k", "super+g"], "command": "clear_bookmarks", "args": {"name": "mark"} }, | |
// { "keys": ["super+k", "super+c"], "command": "show_at_center" }, | |
// { "keys": ["super++"], "command": "increase_font_size" }, | |
// { "keys": ["super+="], "command": "increase_font_size" }, | |
// { "keys": ["super+-"], "command": "decrease_font_size" }, | |
// { "keys": ["super+shift+["], "command": "fold" }, | |
// { "keys": ["super+shift+]"], "command": "unfold" }, | |
// { "keys": ["super+k", "super+1"], "command": "fold_by_level", "args": {"level": 1} }, | |
// { "keys": ["super+k", "super+2"], "command": "fold_by_level", "args": {"level": 2} }, | |
// { "keys": ["super+k", "super+3"], "command": "fold_by_level", "args": {"level": 3} }, | |
// { "keys": ["super+k", "super+4"], "command": "fold_by_level", "args": {"level": 4} }, | |
// { "keys": ["super+k", "super+5"], "command": "fold_by_level", "args": {"level": 5} }, | |
// { "keys": ["super+k", "super+6"], "command": "fold_by_level", "args": {"level": 6} }, | |
// { "keys": ["super+k", "super+7"], "command": "fold_by_level", "args": {"level": 7} }, | |
// { "keys": ["super+k", "super+8"], "command": "fold_by_level", "args": {"level": 8} }, | |
// { "keys": ["super+k", "super+9"], "command": "fold_by_level", "args": {"level": 9} }, | |
// { "keys": ["super+k", "super+0"], "command": "unfold_all" }, | |
// { "keys": ["super+k", "super+j"], "command": "unfold_all" }, | |
// { "keys": ["super+k", "super+t"], "command": "fold_tag_attributes" }, | |
// { "keys": ["super+alt+keypad_enter"], "command": "replace_all", "args": {"close_panel": true}, | |
// "context": [{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}] | |
// }, | |
// { "keys": ["super+alt+enter"], "command": "replace_all", "args": {"close_panel": true}, | |
// "context": [{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}] | |
// }, | |
// { "keys": ["super+alt+keypad_enter"], "command": "replace_all", | |
// "context": [{"key": "panel", "operand": "find_in_files"}, {"key": "panel_has_focus"}] | |
// }, | |
// { "keys": ["super+alt+enter"], "command": "replace_all", | |
// "context": [{"key": "panel", "operand": "find_in_files"}, {"key": "panel_has_focus"}] | |
// }, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replaces all occurrences of 'ctrl' with 'super' in Sublime Text key map file. Useful for when using a Macbook keyboard with Linux.