Created
May 29, 2014 16:05
-
-
Save Chun-Yang/d7fe1f7e3ed97af4824b to your computer and use it in GitHub Desktop.
sublime keymap windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
// ------------------------------------------------------------------------- | |
// Auto-complete behaviour for ), ], '', "" | |
// Bind to <tab> to step over the auto-completed character(s) | |
// ------------------------------------------------------------------------- | |
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, | |
"context": | |
[ | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]'\"]", "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_contains", "operand": "[(['\"]", "match_all": true }, | |
{ "key": "auto_complete_visible", "operator": "equal", "operand": false } | |
] | |
}, | |
// automatic indentation | |
{ "keys": ["ctrl+i"], "command": "reindent" }, | |
// auto save | |
{ "keys": ["ctrl+shift+s"], "command": "auto_save" }, | |
// open folder | |
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" }, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment