Last active
January 10, 2017 23:52
-
-
Save MilanGrubnic70/f381fa2011a541c6a0220ae6d166f5d4 to your computer and use it in GitHub Desktop.
Embedded Ruby Shortcut Keybinding
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
// alt + r will get you <% _ %> | |
// shirt + alt + r will get you <%= _ %> | |
[ | |
{ "keys": ["alt+r"], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<% ${1:}$SELECTION %> ${0}" | |
} | |
}, | |
{ "keys": ["shift+alt+r"], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "<%= ${1:}$SELECTION %> ${0}" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment