Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2 from videoMonkey/master

embed snippet and key bindings
  • Loading branch information...
commit 2036f72df74e9ebd3fc1f887310e7bf0a3e18341 2 parents 22a8bca + 2c0b8fa
@samholmes authored
View
7 Default (Linux).sublime-keymap
@@ -0,0 +1,7 @@
+[
+{
+ "keys": ["control+shift+."],
+ "command": "insert_snippet",
+ "args": { "name": "EJS/insert_ejs_tags.sublime-snippet" }
+}
+]
View
7 Default (OSX).sublime-keymap
@@ -0,0 +1,7 @@
+[
+{
+ "keys": ["control+shift+."],
+ "command": "insert_snippet",
+ "args": { "name": "EJS/insert_ejs_tags.sublime-snippet" }
+}
+]
View
7 Default (Windows).sublime-keymap
@@ -0,0 +1,7 @@
+[
+{
+ "keys": ["control+shift+."],
+ "command": "insert_snippet",
+ "args": { "name": "EJS/insert_ejs_tags.sublime-snippet" }
+}
+]
View
10 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>
Please sign in to comment.
Something went wrong with that request. Please try again.