diff options
| author | Simeon Simeonov | 2016-06-16 09:07:53 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2016-06-16 09:07:53 +0200 |
| commit | 991f8ff925f51fd5598db72885f8cca1a1a79bed (patch) | |
| tree | f55c97c928d5e7f408ee459f713b2c57af34afdd /.emacs.d/snippets/nxml-mode | |
| parent | 29f6287f356ef9fc016e2f26861ff9a14443f3ea (diff) | |
Upgrade all modes, include snippets/html-mode, snippets/nxml-mode and snippets/prog-mode
Diffstat (limited to '.emacs.d/snippets/nxml-mode')
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/body | 6 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/br | 4 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/doctype | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/doctype_xhtml1_strict | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/form | 6 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/href | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/html | 6 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/img | 4 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/input | 4 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/link | 4 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/meta | 5 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/name | 4 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/quote | 6 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/style | 6 | ||||
| -rw-r--r-- | .emacs.d/snippets/nxml-mode/tag | 5 |
16 files changed, 80 insertions, 0 deletions
diff --git a/.emacs.d/snippets/nxml-mode/body b/.emacs.d/snippets/nxml-mode/body new file mode 100644 index 0000000..ddcf0cf --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/body | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <body>...</body> | ||
| 3 | # -- | ||
| 4 | <body$1> | ||
| 5 | $0 | ||
| 6 | </body> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/br b/.emacs.d/snippets/nxml-mode/br new file mode 100644 index 0000000..ba35773 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/br | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <br /> | ||
| 3 | # -- | ||
| 4 | <br /> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/doctype b/.emacs.d/snippets/nxml-mode/doctype new file mode 100644 index 0000000..3fdcf17 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/doctype | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : DocType XHTML 1.1 | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict new file mode 100644 index 0000000..eca5860 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : DocType XHTML 1.0 Strict | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional new file mode 100644 index 0000000..fba232a --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : DocType XHTML 1.0 Transitional | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/form b/.emacs.d/snippets/nxml-mode/form new file mode 100644 index 0000000..252253e --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/form | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name :<form method="..." action="..."></form> | ||
| 3 | # -- | ||
| 4 | <form method="$1" action="$2"> | ||
| 5 | $0 | ||
| 6 | </form> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/href b/.emacs.d/snippets/nxml-mode/href new file mode 100644 index 0000000..47cb84a --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/href | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <a href="...">...</a> | ||
| 3 | #key: a | ||
| 4 | # -- | ||
| 5 | <a href="$1">$2</a> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/html b/.emacs.d/snippets/nxml-mode/html new file mode 100644 index 0000000..85e09f7 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/html | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <html xmlns="...">...</html> | ||
| 3 | # -- | ||
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}"> | ||
| 5 | $0 | ||
| 6 | </html> | ||
diff --git a/.emacs.d/snippets/nxml-mode/img b/.emacs.d/snippets/nxml-mode/img new file mode 100644 index 0000000..1f4382b --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/img | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <img src="..." alt="..." /> | ||
| 3 | # -- | ||
| 4 | <img src="$1" alt="$2" /> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/input b/.emacs.d/snippets/nxml-mode/input new file mode 100644 index 0000000..80c3503 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/input | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <input ... /> | ||
| 3 | # -- | ||
| 4 | <input type="$1" name="$2" value="$3" /> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/link b/.emacs.d/snippets/nxml-mode/link new file mode 100644 index 0000000..d93b7a5 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/link | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <link stylesheet="..." /> | ||
| 3 | # -- | ||
| 4 | <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/snippets/nxml-mode/meta b/.emacs.d/snippets/nxml-mode/meta new file mode 100644 index 0000000..dfee1f2 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/meta | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <meta name="..." content="..." /> | ||
| 3 | #group : meta | ||
| 4 | # -- | ||
| 5 | <meta name="${1:generator}" content="${2:content}" /> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/name b/.emacs.d/snippets/nxml-mode/name new file mode 100644 index 0000000..592d0da --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/name | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <a name="..."></a> | ||
| 3 | # -- | ||
| 4 | <a name="$1"></a> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/quote b/.emacs.d/snippets/nxml-mode/quote new file mode 100644 index 0000000..20fed1e --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/quote | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <blockquote>...</blockquote> | ||
| 3 | # -- | ||
| 4 | <blockquote> | ||
| 5 | $1 | ||
| 6 | </blockquote> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/style b/.emacs.d/snippets/nxml-mode/style new file mode 100644 index 0000000..b80be1c --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/style | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <style type="text/css" media="...">...</style> | ||
| 3 | # -- | ||
| 4 | <style type="text/css" media="${1:screen}"> | ||
| 5 | $0 | ||
| 6 | </style> \ No newline at end of file | ||
diff --git a/.emacs.d/snippets/nxml-mode/tag b/.emacs.d/snippets/nxml-mode/tag new file mode 100644 index 0000000..7c6a766 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/tag | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #contributor : Anders Bach Nielsen <abachn@abachn.net> | ||
| 2 | #name : <tag>...</tag> | ||
| 3 | #key: t | ||
| 4 | # -- | ||
| 5 | <${1:tag}>$2</$1>$0 \ No newline at end of file | ||
