Permalink
Browse files

Adding embed snippet and key bindings.

  • Loading branch information...
1 parent 22a8bca commit 2c0b8fa0fa9ca728d787e8fdb4c4b0a04ac3b5f9 @videoMonkey videoMonkey committed Jun 29, 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 2c0b8fa

Please sign in to comment.