Skip to content

Instantly share code, notes, and snippets.

@erikogan
Last active December 3, 2016 00:41
Show Gist options
  • Save erikogan/5968412f90b4879e7a4994321b150f50 to your computer and use it in GitHub Desktop.
Save erikogan/5968412f90b4879e7a4994321b150f50 to your computer and use it in GitHub Desktop.
[
{ "keys": ["shift+tab"], "command": "auto_complete" },
{ "keys": ["super+alt+]"], "command": "align_assignments" },
{ "keys": ["ctrl+shift+j"], "command": "join_lines" },
{ "keys": ["super+alt+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"} },
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" },
{ "keys": ["ctrl+shift+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+t"], "command": "goto_recent" },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["super+ctrl+w"], "command": "close_all" },
{ "keys": ["super+ctrl+alt+d"], "command": "toggle_side_bar" },
{ "keys": ["super+ctrl+shift+f"], "command": "toggle_full_screen" },
// Remap these, because my ancient Emacs tendencies are strong
{ "keys": ["ctrl+alt+q"], "command": "toggle_record_macro" },
{ "keys": ["ctrl+shift+q"], "command": "run_macro" },
{ "keys": ["ctrl+q"], "command": "wrap_lines" },
{ "keys": ["super+i"], "command": "reindent" },
{ "keys": ["super+shift+t"], "command": "goto_recent" },
{ "keys": ["super+\\"], "command": "Align Table Cells" },
{ "keys": ["super+k", "super+t"], "command": "title_case" },
{ "keys": ["super+shift+o"], "command": "toggle_overwrite" },
// I have no idea where this is bound, but it annoys the crap out of me
{ "keys": ["alt+semicolon"], "command": "insert", "args": {"characters": "…"} },
// Markdown preview. This is global. Make it work first, then figure out how to turn it on only for .md files
{ "keys": ["super+shift+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"github"} },
// Expand region
{ "keys": ["super+alt+ctrl+space"], "command": "expand_region" },
// third party plugins can not properly hook into the history. So soft-undo
// in basically only a undo expand selection. Soft-redo will not work.
{
"keys": ["super+u"],
"command": "expand_region",
"args": {"undo": true},
"context": [{ "key": "expand_region_soft_undo" }]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment