Skip to content

Instantly share code, notes, and snippets.

@darylknight
Last active October 29, 2019 09:29
Show Gist options
  • Save darylknight/4d4ba1487644c34faace18b8171b1bb5 to your computer and use it in GitHub Desktop.
Save darylknight/4d4ba1487644c34faace18b8171b1bb5 to your computer and use it in GitHub Desktop.
[
{ "keys": ["f5"], "command": "reindent"}, // auto indent
{ "keys": ["ctrl+shift+up"], "command": "select_lines", "args": {"forward": false} }, // multiselect
{ "keys": ["ctrl+shift+down"], "command": "select_lines", "args": {"forward": true} }, // multiselect
{ "keys": ["ctrl+r"], "command": "show_panel", "args": {"panel": "replace"} }, // replace
{ "keys": ["alt+shift+w"], "command": "insert_snippet", "args": { "name": "Packages/XML/Snippets/long-tag.sublime-snippet" } }, // wrap in tag
{ "keys": ["ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, // switch files
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, // switch workspaces
{ "keys": ["ctrl+shift+s"], "command": "save_all" }, // save all
{ "keys": ["alt+left"], "command": "move_to", "args": {"to": "bol", "extend": false} }, // Beginning of line OSX behaviour
{ "keys": ["alt+right"], "command": "move_to", "args": {"to": "eol", "extend": false} }, // End of line OSX behaviour
{ "keys": ["shift+alt+left"], "command": "move_to", "args": {"to": "bol", "extend": true} }, // OSX select behaviour
{ "keys": ["shift+alt+right"], "command": "move_to", "args": {"to": "eol", "extend": true} }, // OSX select behaviour
{ "keys": ["alt+up"], "command": "move_to", "args": {"to": "bof", "extend": false} }, // emulates pageup OSX behaviour
{ "keys": ["alt+down"], "command": "move_to", "args": {"to": "eof", "extend": false} }, // emulates pagedown OSX behaviour
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment