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}" | |
} |
subl
- Understanding the Unix Environment
- Homebrew
- sqlite3
- postgres
Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}