restructuring classic snippets dir to conform to new parenting specs

This commit is contained in:
capitaomorte
2009-12-25 14:05:23 +00:00
parent eebdf516b2
commit 4426d044f6
418 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1 @@
text-mode

6
snippets/html-mode/body Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <body>...</body>
# --
<body$1>
$0
</body>

4
snippets/html-mode/br Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <br />
# --
<br />

6
snippets/html-mode/code Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <code>...</code>
# --
<code>
$0
</code>

View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <code class="...">...</code>
# --
<code class="$1">
$0
</code>

5
snippets/html-mode/dd Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
#name : <dd> ... </dd>
#group : list
# --
<dd>$1</dd>

3
snippets/html-mode/div Normal file
View File

@@ -0,0 +1,3 @@
#name : <div...>...</div>
# --
<div${1: id="${2:some_id}"}${3: class="${4:some_class}"}>$0</div>

View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <div class="...">...</div>
# --
<div class="$1">
$0
</div>

View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <div id="...">...</div>
# --
<div id="$1">
$0
</div>

View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <div id="..." class="...">...</div>
# --
<div id="$1" class="$2">
$0
</div>

7
snippets/html-mode/dl Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
#name : <dl> ... </dl>
#group : list
# --
<dl>
$0
</dl>

7
snippets/html-mode/dl.id Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
#name : <dl> ... </dl>
#group : list
# --
<dl id="$1">
$0
</dl>

View File

@@ -0,0 +1,4 @@
#name : Doctype HTML 4.01 Strict
#group : meta
# --
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

View File

@@ -0,0 +1,4 @@
#name : DocType XHTML 1.0 frameset
#group : meta
# --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

View File

@@ -0,0 +1,4 @@
#name : DocType XHTML 1.1
#group : meta
# --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

View File

@@ -0,0 +1,4 @@
#name : DocType XHTML 1.0 Strict
#group : meta
# --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

View File

@@ -0,0 +1,4 @@
#name : DocType XHTML 1.0 Transitional
#group : meta
# --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

11
snippets/html-mode/dov Normal file
View File

@@ -0,0 +1,11 @@
#name : <dov...>...</dov>
# --
a mirror up here $3
<dov ${1:id="${2:some_id and here comes another nested field: ${3:nested_shit}}"}>
$0
</dov>
<dov $1>
actually some other shit and $3
</dov>

5
snippets/html-mode/dt Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Rodrigo Setti <rodrigosetti@gmail.com>
#name : <dt> ... </dt>
#group : list
# --
<dt>$1</dt>

6
snippets/html-mode/form Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name :<form method="..." id="..." action="..."></form>
# --
<form method="$1" id="$2" action="$3">
$0
</form>

5
snippets/html-mode/h1 Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h1>...</h1>
#group : header
# --
<h1>$1</h1>

5
snippets/html-mode/h2 Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h2>...</h2>
#group : header
# --
<h2>$1</h2>

5
snippets/html-mode/h3 Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h3>...</h3>
#group : header
# --
<h3>$1</h3>

5
snippets/html-mode/h4 Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h4>...</h4>
#group : header
# --
<h4>$1</h4>

5
snippets/html-mode/h5 Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h5>...</h5>
#group : header
# --
<h5>$1</h5>

5
snippets/html-mode/h6 Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <h6>...</h6>
#group : header
# --
<h6>$1</h6>

6
snippets/html-mode/head Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <head>...</head>
# --
<head>
$0
</head>

4
snippets/html-mode/hr Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <hr />
# --
<hr />

4
snippets/html-mode/href Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <a href="...">...</a>
# --
<a href="$1">$2</a>

6
snippets/html-mode/html Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <html>...</html>
# --
<html>
$0
</html>

View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <html xmlns="...">...</html>
# --
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
$0
</html>

4
snippets/html-mode/img Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <img src="..." class="..." alt="..." />
# --
<img src="$1" class="$2" alt="$3" />

4
snippets/html-mode/input Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <input ... />
# --
<input type="$1" name="$2" value="$3" />

5
snippets/html-mode/li Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <li>...</li>
#group : list
# --
<li>$1</li>

View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <li class="...">...</li>
#group : list
# --
<li class="$1">$2</li>

View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <link stylesheet="..." />
# --
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />

View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <!--[if IE]><link stylesheet="..." /><![endif]-->
# --
<!--[if IE]>
<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
<![endif]-->

View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <a href="mailto:...@...">...</a>
# --
<a href="mailto:$1@$2">$0</a>

5
snippets/html-mode/meta Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#group : meta
#name : <meta name="..." content="..." />
# --
<meta name="${1:generator}" content="${2:content}" />

View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <meta http-equiv="..." content="..." />
#group : meta
# --
<meta name="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />

7
snippets/html-mode/ol Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ol>...</ol>
#group : list
# --
<ol>
$0
</ol>

View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ol class="...">...</ol>
#group : list
# --
<ol class="$1">
$0
</ol>

7
snippets/html-mode/ol.id Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ol id="...">...</ol>
#group : list
# --
<ol id="$1">
$0
</ol>

4
snippets/html-mode/p Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <p>...</p>
# --
<p>$1</p>

6
snippets/html-mode/pre Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <pre>...</pre>
# --
<pre>
$0
</pre>

6
snippets/html-mode/quote Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <blockquote>...</blockquote>
# --
<blockquote>
$1
</blockquote>

View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name :<script type="text/javascript">...</script>
# --
<script type="text/javascript">
$0
</script>

View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name :<script type="text/javascript" src="..."></script>
# --
<script type="text/javascript" src="$1"></script>

4
snippets/html-mode/span Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <span>...</span>
# --
<span>$1</span>

View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <span class="...">...</span>
# --
<span class="$1">$2</span>

View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <span id="...">...</span>
# --
<span id="$1">$2</span>

6
snippets/html-mode/style Normal file
View File

@@ -0,0 +1,6 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <style type="text/css" media="...">...</style>
# --
<style type="text/css" media="${1:screen}">
$0
</style>

7
snippets/html-mode/table Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <table ...>...</table>
#group : table
# --
<table width="$1" cellspacing="$2" cellpadding="$3" border="$4">
$0
</table>

5
snippets/html-mode/td Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <td>...</td>
#group : table
# --
<td$1>$2</td>

View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <textarea ...></textarea>
# --
<textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea>

5
snippets/html-mode/th Normal file
View File

@@ -0,0 +1,5 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <th>...</th>
#group : table
# --
<th$1>$2</th>

4
snippets/html-mode/title Normal file
View File

@@ -0,0 +1,4 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <title>...</title>
# --
<title>$1</title>

7
snippets/html-mode/tr Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <tr>...</tr>
#group : table
# --
<tr>
$0
</tr>

7
snippets/html-mode/ul Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ul>...</ul>
#group : list
# --
<ul>
$0
</ul>

View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ul class="...">...</ul>
#group : list
# --
<ul class="$1">
$0
</ul>

7
snippets/html-mode/ul.id Normal file
View File

@@ -0,0 +1,7 @@
#contributor : Jimmy Wu <frozenthrone88@gmail.com>
#name : <ul id="...">...</ul>
#group : list
# --
<ul id="$1">
$0
</ul>