Last active
June 21, 2018 12:02
-
-
Save mikemellor11/9914d8f7e8fac5e15cf49ceed95137fe to your computer and use it in GitHub Desktop.
sublime user bindings
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": [ | |
"super+alt+i" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<i>${0:$SELECTION}</i>" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+alt+b" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<strong>${0:$SELECTION}</strong>" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+alt+h" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<span class='ut-highlight'>${0:$SELECTION}</span>" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+alt+s" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<sup>${0:$SELECTION}</sup>" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+alt+m" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "\"body\": [\n\t{\n\t\t\"text\": [\n\t\t\t{\n\t\t\t\t\"output\": \"\"\n\t\t\t}\n\t\t]\n\t}\n]" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+alt+r" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<span class='ut-noWrap'>${0:$SELECTION}</span>" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+shift+c" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "console.log(${0:$SELECTION});" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+shift+d" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<%= ${0:$SELECTION} %>" | |
} | |
}, | |
{ | |
"keys": [ | |
"super+alt+a" | |
], | |
"command": "insert_snippet", | |
"args": { | |
"contents": ",\n{\n\t\"output\": \"\"\n}" | |
} | |
} | |
// Fix End of line | |
,{ "keys": ["super+right"], "command": "move_to", "args": {"to": "hardeol", "extend": false} } | |
// Fix Beginning of line | |
,{ "keys": ["super+shift+right"], "command": "move_to", "args": {"to": "hardeol", "extend": true} } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment