Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added handy snippets for snipMate to use in HTML and Ruby files.

  • Loading branch information...
commit 71a819581c514b14e7a5f6471fdb1945bd8e1151 1 parent 2a72f0c
@miloops authored
Showing with 26 additions and 0 deletions.
  1. +22 −0 snippets/html.snippets
  2. +4 −0 snippets/ruby.snippets
View
22 snippets/html.snippets
@@ -47,6 +47,18 @@ snippet backspace
# ⎋
snippet escape
⎋
+snippet á
+ á
+snippet é
+ é
+snippet í
+ í
+snippet ó
+ ó
+snippet ú
+ ú
+snippet ñ
+ ñ
# Generic Doctype
snippet doctype HTML 4.01 Strict
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""
@@ -188,3 +200,13 @@ snippet table
</table>${4}
snippet textarea
<textarea name="${1:Name}" rows="${2:8}" cols="${3:40}">${4}</textarea>${5}
+snippet p
+ <p id="${1:heading}">${2:$1}</p>
+snippet li
+ <li id="${1:heading}">${2:$1}</li>
+snippet ul
+ <ul id="${1:heading}">
+ ${2:$1}
+ </ul>
+snippet br
+ <br />
View
4 snippets/ruby.snippets
@@ -418,3 +418,7 @@ snippet tas
task :${2:task_name => [:dependent, :tasks]} do
${3}
end
+snippet forin
+ for ${1:element} in ${2:elements}
+ ${3}
+ end
Please sign in to comment.
Something went wrong with that request. Please try again.