Initial commit.

This commit is contained in:
yan
2011-11-17 15:45:33 -06:00
commit 882015bc6d
1819 changed files with 111625 additions and 0 deletions

1
vim/snippets/html/ah.snippet Executable file
View File

@@ -0,0 +1 @@
<a href="${1:#}">${2}</a>${3}

1
vim/snippets/html/base.snippet Executable file
View File

@@ -0,0 +1 @@
<base href="<++>"<+ target="<++>"+>/>

3
vim/snippets/html/body.snippet Executable file
View File

@@ -0,0 +1,3 @@
<body id="${1}">
${2}
</body>

View File

@@ -0,0 +1 @@
<!--break-->

1
vim/snippets/html/css.snippet Executable file
View File

@@ -0,0 +1 @@
<link rel="${1:stylesheet}" href="${2:/css/master.css}" type="text/css" media="${3:screen}" charset="utf-8">${4}

3
vim/snippets/html/div.snippet Executable file
View File

@@ -0,0 +1,3 @@
<div id="${1}">
${2}
</div>

View File

@@ -0,0 +1 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">${1}

View File

@@ -0,0 +1,2 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""
"http://www.w3.org/TR/html4/strict.dtd">

View File

@@ -0,0 +1,2 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""
"http://www.w3.org/TR/html4/loose.dtd">

View File

@@ -0,0 +1,2 @@
<!DOCTYPE HTML>

View File

@@ -0,0 +1,2 @@
<!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,2 @@
<!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,2 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

View File

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

5
vim/snippets/html/form.snippet Executable file
View File

@@ -0,0 +1,5 @@
<form action="${1:action}" method="${2:post}" accept-charset="utf-8">
${3}
<p><input type="submit" value="Continue &rarr;"/></p>
</form>

1
vim/snippets/html/h1.snippet Executable file
View File

@@ -0,0 +1 @@
<h1 id="${1}">${2}</h1>

1
vim/snippets/html/h2.snippet Executable file
View File

@@ -0,0 +1 @@
<h2${1}>${2}</h2>${3}

1
vim/snippets/html/h3.snippet Executable file
View File

@@ -0,0 +1 @@
<h3${1}>${2}</h3>${3}

5
vim/snippets/html/head.snippet Executable file
View File

@@ -0,0 +1,5 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
${2}
</head>

View File

@@ -0,0 +1 @@
<a href="${1}">${2}</a>

1
vim/snippets/html/ifie.snippet Executable file
View File

@@ -0,0 +1 @@
<!--[if IE ${1:6}]>${2}<![endif]-->${3}

1
vim/snippets/html/img.snippet Executable file
View File

@@ -0,0 +1 @@
<img src="${1}"${2} />

View File

@@ -0,0 +1 @@
<input type="${1:text/submit/hidden/button}" name="${2}" value="${3:value}" id="${4:$2}"/>${5}

View File

@@ -0,0 +1,2 @@
<label for="${1:input_id}">${2}</label>
<input type="${3:text/submit/hidden/button}" name="${4:$1}" value="${5:value}" id="${6:$1}"/>${7}

View File

@@ -0,0 +1 @@
<label for="${1:id}">${2:label_text}</label>

1
vim/snippets/html/li.snippet Executable file
View File

@@ -0,0 +1 @@
<li${1}>${2}</li>${3}

1
vim/snippets/html/link.snippet Executable file
View File

@@ -0,0 +1 @@
<link rel="${1:stylesheet}" href="${2:path-to-stylesheet}.css" type="text/css" media="${3:screen}" charset="${4:utf-8}"/>${5}

View File

@@ -0,0 +1 @@
<a href="mailto:<+email+><+?subject=<+feedback+>+>"><+email me+></a>

1
vim/snippets/html/meta.snippet Executable file
View File

@@ -0,0 +1 @@
<meta name="${1:name}" content="${2:content}"/>

12
vim/snippets/html/movie.snippet Executable file
View File

@@ -0,0 +1,12 @@
<object width="$2" height="$3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="$1"`Close()`>
<param name="controller" value="$4"`Close()`>
<param name="autoplay" value="$5"`Close()`>
<embed src="${1:movie.mov}"
width="${2:320}" height="${3:240}"
controller="${4:true}" autoplay="${5:true}"
scale="tofit" cache="true"
pluginspage="http://www.apple.com/quicktime/download/"
`Close()[1:]`>
</object>${6}

4
vim/snippets/html/ol.snippet Executable file
View File

@@ -0,0 +1,4 @@
<ol${1}>
<li>${2}</li>
${3}
</ol>${4}

View File

@@ -0,0 +1 @@
<option value="${1}">${2}</option>

3
vim/snippets/html/p.snippet Executable file
View File

@@ -0,0 +1,3 @@
<p${1}>
${2}
</p>${3}

1
vim/snippets/html/php.snippet Executable file
View File

@@ -0,0 +1 @@
<?php ${1} ?>

View File

@@ -0,0 +1 @@
<script src="${1:url}" type="text/javascript" charset="utf-8"></script>${2}

View File

@@ -0,0 +1,5 @@
<script type="text/javascript" language="javascript" charset="utf-8">
//<![CDATA[
${1}
//]]>
</script>${2}

View File

@@ -0,0 +1,3 @@
<select name="${1}" id="${2}">
${3}
</select>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${1:Untitled}</title>
<link rel="stylesheet" type="text/css" href="${2:stylesheets/master.css}">${3}
</head>
<body>
${4}
</body>
</html>

View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>${1:Untitled}</title>
<link rel="stylesheet" href="${2:stylesheets/master.css}" />${3}
<!--[if IE]><script>var e=("abbr,article,aside,audio,canvas,datalist,details,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video").split(',');for(var i=0;i<e.length;i++){document.createElement(e[i]);}</script><![endif]-->
</head>
<body>
${4}
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${1:Untitled}</title>
<link rel="stylesheet" type="text/css" href="${2:stylesheets/master.css}" />${3}
</head>
<body>
${4}
</body>
</html>

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${1:Page Title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
${2}
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${1:Page Title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content=""/>
<meta name="description" content=""/>
</head>
<body>
${2}
</body>
</html>

View File

@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<title>${1:Page Title}</title>
<meta charset="utf-8">
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<link rel="stylesheet" href="css/style.css" media="screen" charset="utf-8">
<link rel="shortcut icon" href="favicon.ico">
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<header>
</header>
<section id="main">
</section>
<footer>
</footer>
</body>
</html>

1
vim/snippets/html/span.snippet Executable file
View File

@@ -0,0 +1 @@
<span class="${1:name}">${2}</span>

View File

@@ -0,0 +1,3 @@
<style type="text/css" media="screen">
${1}
</style>

3
vim/snippets/html/t.snippet Executable file
View File

@@ -0,0 +1,3 @@
<${1:div}${2}>
${3}
</$1>

View File

@@ -0,0 +1,3 @@
<table class="${1}">
${2}
</table>

View File

@@ -0,0 +1,9 @@
<table>
<tr>
<th>${1}</th>
</tr>
<tr>
<td></td>
</tr>
</table>

View File

@@ -0,0 +1 @@
<textarea name="${1:Name}" rows="${2:8}" cols="${2:40}">${3}</textarea>

1
vim/snippets/html/ti.snippet Executable file
View File

@@ -0,0 +1 @@
<${1:span}${2}>${3}</$1>

1
vim/snippets/html/tt.snippet Executable file
View File

@@ -0,0 +1 @@
<tt>${1}</tt>${2}

4
vim/snippets/html/ul.snippet Executable file
View File

@@ -0,0 +1,4 @@
<ul${1}>
<li>${2}</li>
${3}
</ul>${4}