Skip to content

Instantly share code, notes, and snippets.

@Shaltz
Last active August 29, 2015 14:15
Show Gist options
  • Save Shaltz/6657ae768933c774cd6b to your computer and use it in GitHub Desktop.
Save Shaltz/6657ae768933c774cd6b to your computer and use it in GitHub Desktop.
Sublime text shortcut and custom keybinding
Toggle console
{ "keys": ["ctrl+alt+c"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }
Autocomplete suggestions (for linux)
{ "keys": ["ctrl+space"], "command": "auto_complete" },
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
[
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
]
}
Indent line(s)
{ "keys": ["ctrl+8"], "command": "indent" }
Undent line(s)
{ "keys": ["ctrl+9"], "command": "unindent" }
Comment line
{ "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } }
Comment block
{ "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }
Select all bookmarks in (in OS X and Linux)
{ "keys": ["alt+f5"], "command": "select_all_bookmarks" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment