Skip to content

Instantly share code, notes, and snippets.

@Kambaa
Created September 26, 2022 17:20
Show Gist options
  • Save Kambaa/384e41343cf1d38e48b344b4a8d414b0 to your computer and use it in GitHub Desktop.
Save Kambaa/384e41343cf1d38e48b344b4a8d414b0 to your computer and use it in GitHub Desktop.
sublime text key bindings
[
{ "keys": ["alt+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["ctrl+d"], "command": "duplicate_line" },
{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+space+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["ctrl+space+up"], "command": "select_lines", "args": {"forward": false}},
{ "keys": ["shift+alt+f"], "command": "reindent", "args": {"single_line": false} } ,
{ "keys": ["shift+alt+f"], "command": "pretty_json" ,
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "source.json"
}
]
} //Pretty JSON addon https://packagecontrol.io/packages/Pretty%20JSON
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment