Created
October 30, 2017 02:43
-
-
Save scottslowe/108192e1a0d27028df73a1b2fc4a740a to your computer and use it in GitHub Desktop.
Custom keymap file for use with Bracketeer and Sublime Text 3
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
[ | |
{ "keys": ["{"], "command": "bracketeer", "args": { "braces": "{}", "unindent": true } }, | |
{ "keys": ["}"], "command": "bracketeer", "args": { "braces": "{}", "pressed": "}", "unindent": true } }, | |
{ "keys": ["["], "command": "bracketeer", "args": { "braces": "[]" } }, | |
{ "keys": ["]"], "command": "bracketeer", "args": { "braces": "[]", "pressed": "]" } }, | |
{ "keys": ["("], "command": "bracketeer", "args": { "braces": "()" } }, | |
{ "keys": [")"], "command": "bracketeer", "args": { "braces": "()", "pressed": ")" } }, | |
{ "keys": ["\""], "command": "bracketeer", "args": { "braces": "\"\"" }, "context": | |
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] }, | |
{ "keys": ["'"], "command": "bracketeer", "args": { "braces": "''" }, "context": | |
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] }, | |
{ "keys": ["`"], "command": "bracketeer", "args": { "braces": "``" }, "context": | |
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] }, | |
{ "keys": ["|"], "command": "bracketeer", "args": { "braces": "||" }, "context": | |
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] }, | |
{ "keys": ["<"], "command": "bracketeer", "args": { "braces": "<>" }, "context": | |
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] }, | |
{ "keys": [">"], "command": "bracketeer", "args": { "braces": "<>", "pressed": ">" } }, | |
{ "keys": ["_"], "command": "bracketeer", "args": { "braces": "__" }, "context": | |
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] }, | |
{ "keys": ["*"], "command": "bracketeer", "args": { "braces": "**" }, "context": | |
[ { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } ] } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment