diff options
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/nxml-mode')
40 files changed, 179 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/.yas-make-groups b/emacs.d/lisp/yasnippet/snippets/nxml-mode/.yas-make-groups new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/.yas-make-groups diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/.yas-parents b/emacs.d/lisp/yasnippet/snippets/nxml-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/body b/emacs.d/lisp/yasnippet/snippets/nxml-mode/body new file mode 100644 index 0000000..9a9addc --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/body @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <body>...</body> +# -- +<body$1> + $0 +</body>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/br b/emacs.d/lisp/yasnippet/snippets/nxml-mode/br new file mode 100644 index 0000000..3e235ed --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/br @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <br /> +# -- +<br />
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/code b/emacs.d/lisp/yasnippet/snippets/nxml-mode/code new file mode 100644 index 0000000..15da807 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/code @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <code>...</code> +# -- +<code> + $0 +</code>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/div b/emacs.d/lisp/yasnippet/snippets/nxml-mode/div new file mode 100644 index 0000000..90fbc2e --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/div @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <div...>...</div> +# -- +<div$1>$0</div>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/form b/emacs.d/lisp/yasnippet/snippets/nxml-mode/form new file mode 100644 index 0000000..a83c4f9 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/form @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name :<form method="..." action="..."></form> +# -- +<form method="$1" action="$2"> + $0 +</form>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/head b/emacs.d/lisp/yasnippet/snippets/nxml-mode/head new file mode 100644 index 0000000..2a4865b --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/head @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <head>...</head> +# -- +<head> + $0 +</head>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h1 b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h1 new file mode 100644 index 0000000..80e52e0 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h1 @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h1>...</h1>
+# --
+<h1>$1</h1> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h2 b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h2 new file mode 100644 index 0000000..fcad88d --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h2 @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h2>...</h2>
+# --
+<h2>$1</h2> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h3 b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h3 new file mode 100644 index 0000000..bce6a94 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h3 @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h3>...</h3>
+# --
+<h3>$1</h3> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h4 b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h4 new file mode 100644 index 0000000..5214e24 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h4 @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h4>...</h4>
+# --
+<h4>$1</h4> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h5 b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h5 new file mode 100644 index 0000000..74cb078 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h5 @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h5>...</h5>
+# --
+<h5>$1</h5> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h6 b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h6 new file mode 100644 index 0000000..2803907 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/header/h6 @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net>
+#name : <h6>...</h6>
+# --
+<h6>$1</h6> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/hr b/emacs.d/lisp/yasnippet/snippets/nxml-mode/hr new file mode 100644 index 0000000..85d4acb --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/hr @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <hr /> +# -- +<hr /> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/href b/emacs.d/lisp/yasnippet/snippets/nxml-mode/href new file mode 100644 index 0000000..3da0ece --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/href @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <a href="...">...</a> +# -- +<a href="$1">$2</a>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/html b/emacs.d/lisp/yasnippet/snippets/nxml-mode/html new file mode 100644 index 0000000..fdcb784 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/html @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <html xmlns="...">...</html> +# -- +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}"> + $0 +</html> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/img b/emacs.d/lisp/yasnippet/snippets/nxml-mode/img new file mode 100644 index 0000000..442d679 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/img @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <img src="..." alt="..." /> +# -- +<img src="$1" alt="$2" />
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/input b/emacs.d/lisp/yasnippet/snippets/nxml-mode/input new file mode 100644 index 0000000..56cfc09 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/input @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <input ... /> +# -- +<input type="$1" name="$2" value="$3" />
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/li b/emacs.d/lisp/yasnippet/snippets/nxml-mode/li new file mode 100644 index 0000000..0c4c9e4 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/li @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <li>...</li> +# -- +<li>$1</li>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/link b/emacs.d/lisp/yasnippet/snippets/nxml-mode/link new file mode 100644 index 0000000..d16475a --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/link @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <link stylesheet="..." /> +# -- +<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" />
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype new file mode 100644 index 0000000..af8fb49 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : DocType XHTML 1.1 +# -- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype.xhtml1_strict b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype.xhtml1_strict new file mode 100644 index 0000000..bb0b7de --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype.xhtml1_strict @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : DocType XHTML 1.0 Strict +# -- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype.xhtml1_transitional b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype.xhtml1_transitional new file mode 100644 index 0000000..c8c50d3 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/doctype.xhtml1_transitional @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : DocType XHTML 1.0 Transitional +# -- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/meta b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/meta new file mode 100644 index 0000000..a8d0e2f --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/meta/meta @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <meta name="..." content="..." /> +# -- +<meta name="${1:generator}" content="${2:content}" /> diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/name b/emacs.d/lisp/yasnippet/snippets/nxml-mode/name new file mode 100644 index 0000000..a7683d5 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/name @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <a name="..."></a> +# -- +<a name="$1"></a>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/ol b/emacs.d/lisp/yasnippet/snippets/nxml-mode/ol new file mode 100644 index 0000000..d7993be --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/ol @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <ol>...</ol> +# -- +<ol> + $0 +</ol>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/p b/emacs.d/lisp/yasnippet/snippets/nxml-mode/p new file mode 100644 index 0000000..c79b367 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/p @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <p>...</p> +# -- +<p>$1</p>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/pre b/emacs.d/lisp/yasnippet/snippets/nxml-mode/pre new file mode 100644 index 0000000..b92cabb --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/pre @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <pre>...</pre> +# -- +<pre> + $0 +</pre>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/quote b/emacs.d/lisp/yasnippet/snippets/nxml-mode/quote new file mode 100644 index 0000000..5e17c98 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/quote @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <blockquote>...</blockquote> +# -- +<blockquote> + $1 +</blockquote>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/span b/emacs.d/lisp/yasnippet/snippets/nxml-mode/span new file mode 100644 index 0000000..69d5332 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/span @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <span>...</span> +# -- +<span>$1</span>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/style b/emacs.d/lisp/yasnippet/snippets/nxml-mode/style new file mode 100644 index 0000000..1f462cd --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/style @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <style type="text/css" media="...">...</style> +# -- +<style type="text/css" media="${1:screen}"> + $0 +</style>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/table b/emacs.d/lisp/yasnippet/snippets/nxml-mode/table new file mode 100644 index 0000000..3d28497 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/table @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <table>...</table> +# -- +<table> + $0 +</table>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/tag.1l b/emacs.d/lisp/yasnippet/snippets/nxml-mode/tag.1l new file mode 100644 index 0000000..8988635 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/tag.1l @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <tag>...</tag> +# -- +<${1:tag}>$2</$1>$0
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/tag.2l b/emacs.d/lisp/yasnippet/snippets/nxml-mode/tag.2l new file mode 100644 index 0000000..08b4a26 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/tag.2l @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <tag> \n...\n</tag> +# -- +<${1:tag}> + $2 +</$1>$0
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/td b/emacs.d/lisp/yasnippet/snippets/nxml-mode/td new file mode 100644 index 0000000..4543d5c --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/td @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <td>...</td> +# -- +<td$1>$2</td>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/th b/emacs.d/lisp/yasnippet/snippets/nxml-mode/th new file mode 100644 index 0000000..4b679ef --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/th @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <th>...</th> +# -- +<th$1>$2</th>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/title b/emacs.d/lisp/yasnippet/snippets/nxml-mode/title new file mode 100644 index 0000000..581d8bb --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/title @@ -0,0 +1,4 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <title>...</title> +# -- +<title>$1</title>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/tr b/emacs.d/lisp/yasnippet/snippets/nxml-mode/tr new file mode 100644 index 0000000..6726429 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/tr @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <tr>...</tr> +# -- +<tr> + $0 +</tr>
\ No newline at end of file diff --git a/emacs.d/lisp/yasnippet/snippets/nxml-mode/ul b/emacs.d/lisp/yasnippet/snippets/nxml-mode/ul new file mode 100644 index 0000000..0462dd1 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/nxml-mode/ul @@ -0,0 +1,6 @@ +#contributor : Anders Bach Nielsen <abachn@abachn.net> +#name : <ul>...</ul> +# -- +<ul> + $0 +</ul>
\ No newline at end of file |