sublime text shortcuts code example
Example 1: sublime text comment shortcut
# Workaround for sublime comment bug:
Goto Preferences -> Key Bindings and paste this in
{ "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }
Example 2: aliginng code short cut in sublime
{ "keys": ["f12"], "command": "reindent", "args": {"single_line": false} }
Example 3: shortcut for auto format in sublime text 3
{"keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false}}