Created
May 30, 2014 00:56
-
-
Save Chun-Yang/4333f7941d9d8d9cf451 to your computer and use it in GitHub Desktop.
sublime key bindings linux
This file contains hidden or 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