Permalink
Browse files

Merge pull request #2 from videoMonkey/master

embed snippet and key bindings
  • Loading branch information...
2 parents 22a8bca + 2c0b8fa commit 2036f72df74e9ebd3fc1f887310e7bf0a3e18341 @samholmes committed Jun 30, 2012
@@ -0,0 +1,7 @@
+[
+{
+ "keys": ["control+shift+."],
+ "command": "insert_snippet",
+ "args": { "name": "EJS/insert_ejs_tags.sublime-snippet" }
+}
+]
@@ -0,0 +1,7 @@
+[
+{
+ "keys": ["control+shift+."],
+ "command": "insert_snippet",
+ "args": { "name": "EJS/insert_ejs_tags.sublime-snippet" }
+}
+]
@@ -0,0 +1,7 @@
+[
+{
+ "keys": ["control+shift+."],
+ "command": "insert_snippet",
+ "args": { "name": "EJS/insert_ejs_tags.sublime-snippet" }
+}
+]
@@ -0,0 +1,10 @@
+<snippet>
+ <content><![CDATA[
+<?${1:=} ${2:$SELECTION} ?>$0
+]]></content>
+ <description><?(=) 'insert ejs tags' ?></description>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>=</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>text.html</scope>
+</snippet>

0 comments on commit 2036f72

Please sign in to comment.