Skip to content

Instantly share code, notes, and snippets.

@maxyudin
Last active January 20, 2021 14:45
Show Gist options
  • Save maxyudin/1a63f3a8ac1be3a3fc6d338e86ea026e to your computer and use it in GitHub Desktop.
Save maxyudin/1a63f3a8ac1be3a3fc6d338e86ea026e to your computer and use it in GitHub Desktop.
[
{ "keys": ["ctrl+й"], "command": "exit" },
{ "keys": ["ctrl+щ"], "command": "prompt_open_file" },
{ "keys": ["ctrl+т"], "command": "new_file" },
{ "keys": ["ctrl+ы"], "command": "save" },
{ "keys": ["ctrl+ц"], "command": "close" },
{ "keys": ["ctrl+я"], "command": "undo" },
{ "keys": ["ctrl+shift+я"], "command": "redo" },
{ "keys": ["ctrl+н"], "command": "redo_or_repeat" },
{ "keys": ["ctrl+г"], "command": "soft_undo" },
{ "keys": ["ctrl+shift+г"], "command": "soft_redo" },
{ "keys": ["ctrl+ч"], "command": "cut" },
{ "keys": ["ctrl+с"], "command": "copy" },
{ "keys": ["ctrl+shift+м"], "command": "paste" },
{ "keys": ["ctrl+м"], "command": "paste_and_indent" },
{ "keys": ["ctrl+л", "ctrl+м"], "command": "paste_from_history" },
// Emmet for JSX/HTML
{"keys": ["tab"], "command": "expand_abbreviation_by_tab", "context":
[
{ "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" },
{ "match_all": true, "key": "selection_empty" },
{ "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" },
{ "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" },
{ "match_all": true, "key": "is_abbreviation" }
]
},
{ "keys": ["ctrl+shift+v"], "command": "paste" },
{ "keys": ["ctrl+v"], "command": "paste_and_indent" }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment