Last active
November 29, 2016 23:28
-
-
Save curtisbelt/ba9795cd8a66a0cab968a6adadc9d2a8 to your computer and use it in GitHub Desktop.
Default (Windows).sublime-keymap
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
[ | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, | |
// Auto-space within parentheses | |
{ "keys": [" "], "command": "insert_snippet", "args": {"contents": " $0 "}, "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\($", "match_all": true }, | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^\\)", "match_all": true } | |
] | |
}, | |
// Auto-space within brackets | |
{ "keys": [" "], "command": "insert_snippet", "args": {"contents": " $0 "}, "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\[$", "match_all": true }, | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^\\]", "match_all": true } | |
] | |
}, | |
// Auto-space within curly braces | |
{ "keys": [" "], "command": "insert_snippet", "args": {"contents": " $0 "}, "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_contains", "operand": "\\{$", "match_all": true }, | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^\\}", "match_all": true } | |
] | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment