Skip to content

Commit

Permalink
Added handy snippets for snipMate to use in HTML and Ruby files.
Browse files Browse the repository at this point in the history
  • Loading branch information
miloops committed Jun 3, 2009
1 parent 2a72f0c commit 71a8195
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions snippets/html.snippets
Expand Up @@ -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""
Expand Down Expand Up @@ -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 />
4 changes: 4 additions & 0 deletions snippets/ruby.snippets
Expand Up @@ -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

0 comments on commit 71a8195

Please sign in to comment.