summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/snippets/nxml-mode/body11
-rw-r--r--.emacs.d/snippets/nxml-mode/br7
-rw-r--r--.emacs.d/snippets/nxml-mode/doctype7
-rw-r--r--.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict7
-rw-r--r--.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional7
-rw-r--r--.emacs.d/snippets/nxml-mode/form11
-rw-r--r--.emacs.d/snippets/nxml-mode/href9
-rw-r--r--.emacs.d/snippets/nxml-mode/html13
-rw-r--r--.emacs.d/snippets/nxml-mode/img7
-rw-r--r--.emacs.d/snippets/nxml-mode/input7
-rw-r--r--.emacs.d/snippets/nxml-mode/link7
-rw-r--r--.emacs.d/snippets/nxml-mode/meta9
-rw-r--r--.emacs.d/snippets/nxml-mode/name7
-rw-r--r--.emacs.d/snippets/nxml-mode/quote11
-rw-r--r--.emacs.d/snippets/nxml-mode/style11
-rw-r--r--.emacs.d/snippets/nxml-mode/tag7
-rw-r--r--.emacs.d/snippets/nxml-mode/tag_closing6
-rw-r--r--.emacs.d/snippets/nxml-mode/tag_newline8
-rw-r--r--.emacs.d/snippets/python-mode/for1
19 files changed, 92 insertions, 61 deletions
diff --git a/.emacs.d/snippets/nxml-mode/body b/.emacs.d/snippets/nxml-mode/body
index ddcf0cf..c977749 100644
--- a/.emacs.d/snippets/nxml-mode/body
+++ b/.emacs.d/snippets/nxml-mode/body
@@ -1,6 +1,7 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <body>...</body> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <body>...</body>
4<body$1> 4# --
5 $0 5<body$1>
6 $0
6</body> \ No newline at end of file 7</body> \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/br b/.emacs.d/snippets/nxml-mode/br
index ba35773..8b73ebb 100644
--- a/.emacs.d/snippets/nxml-mode/br
+++ b/.emacs.d/snippets/nxml-mode/br
@@ -1,4 +1,5 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <br /> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <br />
4# --
4<br /> \ No newline at end of file 5<br /> \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/doctype b/.emacs.d/snippets/nxml-mode/doctype
index 3fdcf17..bc745a3 100644
--- a/.emacs.d/snippets/nxml-mode/doctype
+++ b/.emacs.d/snippets/nxml-mode/doctype
@@ -1,5 +1,6 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : DocType XHTML 1.1 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3#group : meta 3# name: DocType XHTML 1.1
4# group : meta
4# -- 5# --
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 6<!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
index eca5860..b827989 100644
--- a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict
+++ b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict
@@ -1,5 +1,6 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : DocType XHTML 1.0 Strict 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3#group : meta 3# name: DocType XHTML 1.0 Strict
4# group : meta
4# -- 5# --
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 6<!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
index fba232a..30f2c20 100644
--- a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional
+++ b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional
@@ -1,5 +1,6 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : DocType XHTML 1.0 Transitional 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3#group : meta 3# name: DocType XHTML 1.0 Transitional
4# group : meta
4# -- 5# --
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 6<!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
index 252253e..77bfd4b 100644
--- a/.emacs.d/snippets/nxml-mode/form
+++ b/.emacs.d/snippets/nxml-mode/form
@@ -1,6 +1,7 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name :<form method="..." action="..."></form> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name:<form method="..." action="..."></form>
4<form method="$1" action="$2"> 4# --
5 $0 5<form method="$1" action="$2">
6 $0
6</form> \ No newline at end of file 7</form> \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/href b/.emacs.d/snippets/nxml-mode/href
index 47cb84a..71f0949 100644
--- a/.emacs.d/snippets/nxml-mode/href
+++ b/.emacs.d/snippets/nxml-mode/href
@@ -1,5 +1,6 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <a href="...">...</a> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3#key: a 3# name: <a href="...">...</a>
4# -- 4# key: a
5# --
5<a href="$1">$2</a> \ No newline at end of file 6<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
index 85e09f7..897c195 100644
--- a/.emacs.d/snippets/nxml-mode/html
+++ b/.emacs.d/snippets/nxml-mode/html
@@ -1,6 +1,7 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <html xmlns="...">...</html> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <html xmlns="...">...</html>
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}"> 4# --
5 $0 5<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
6</html> 6 $0
7</html> \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/img b/.emacs.d/snippets/nxml-mode/img
index 1f4382b..f80e3ce 100644
--- a/.emacs.d/snippets/nxml-mode/img
+++ b/.emacs.d/snippets/nxml-mode/img
@@ -1,4 +1,5 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <img src="..." alt="..." /> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <img src="..." alt="..." />
4# --
4<img src="$1" alt="$2" /> \ No newline at end of file 5<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
index 80c3503..4456a71 100644
--- a/.emacs.d/snippets/nxml-mode/input
+++ b/.emacs.d/snippets/nxml-mode/input
@@ -1,4 +1,5 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <input ... /> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <input ... />
4# --
4<input type="$1" name="$2" value="$3" /> \ No newline at end of file 5<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
index d93b7a5..f10580b 100644
--- a/.emacs.d/snippets/nxml-mode/link
+++ b/.emacs.d/snippets/nxml-mode/link
@@ -1,4 +1,5 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <link stylesheet="..." /> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <link stylesheet="..." />
4# --
4<link rel="${1:stylesheet}" href="${2:url}" type="${3:text/css}" media="${4:screen}" /> \ No newline at end of file 5<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
index dfee1f2..28a39f3 100644
--- a/.emacs.d/snippets/nxml-mode/meta
+++ b/.emacs.d/snippets/nxml-mode/meta
@@ -1,5 +1,6 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <meta name="..." content="..." /> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3#group : meta 3# name: <meta name="..." content="..." />
4# -- 4# group : meta
5# --
5<meta name="${1:generator}" content="${2:content}" /> \ No newline at end of file 6<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
index 592d0da..f05b420 100644
--- a/.emacs.d/snippets/nxml-mode/name
+++ b/.emacs.d/snippets/nxml-mode/name
@@ -1,4 +1,5 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <a name="..."></a> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <a name="..."></a>
4# --
4<a name="$1"></a> \ No newline at end of file 5<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
index 20fed1e..6e2915c 100644
--- a/.emacs.d/snippets/nxml-mode/quote
+++ b/.emacs.d/snippets/nxml-mode/quote
@@ -1,6 +1,7 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <blockquote>...</blockquote> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <blockquote>...</blockquote>
4<blockquote> 4# --
5 $1 5<blockquote>
6 $1
6</blockquote> \ No newline at end of file 7</blockquote> \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/style b/.emacs.d/snippets/nxml-mode/style
index b80be1c..9066c02 100644
--- a/.emacs.d/snippets/nxml-mode/style
+++ b/.emacs.d/snippets/nxml-mode/style
@@ -1,6 +1,7 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <style type="text/css" media="...">...</style> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# -- 3# name: <style type="text/css" media="...">...</style>
4<style type="text/css" media="${1:screen}"> 4# --
5 $0 5<style type="text/css" media="${1:screen}">
6 $0
6</style> \ No newline at end of file 7</style> \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/tag b/.emacs.d/snippets/nxml-mode/tag
index 7c6a766..8d9e55d 100644
--- a/.emacs.d/snippets/nxml-mode/tag
+++ b/.emacs.d/snippets/nxml-mode/tag
@@ -1,5 +1,6 @@
1#contributor : Anders Bach Nielsen <abachn@abachn.net> 1# -*- mode: snippet -*-
2#name : <tag>...</tag> 2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3#key: t 3# name: <tag>...</tag>
4# key: t
4# -- 5# --
5<${1:tag}>$2</$1>$0 \ No newline at end of file 6<${1:tag}>$2</$1>$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/tag_closing b/.emacs.d/snippets/nxml-mode/tag_closing
new file mode 100644
index 0000000..555f7c6
--- /dev/null
+++ b/.emacs.d/snippets/nxml-mode/tag_closing
@@ -0,0 +1,6 @@
1# -*- mode: snippet -*-
2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# name: <tag.../>
4# key: tc
5# --
6<$1 $2 />$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/nxml-mode/tag_newline b/.emacs.d/snippets/nxml-mode/tag_newline
new file mode 100644
index 0000000..62131fd
--- /dev/null
+++ b/.emacs.d/snippets/nxml-mode/tag_newline
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# contributor : Anders Bach Nielsen <abachn@abachn.net>
3# name: <tag> \n...\n</tag>
4# key: tn
5# --
6<${1:tag}>
7 $2
8</$1>$0 \ No newline at end of file
diff --git a/.emacs.d/snippets/python-mode/for b/.emacs.d/snippets/python-mode/for
index 0033c87..47ab339 100644
--- a/.emacs.d/snippets/python-mode/for
+++ b/.emacs.d/snippets/python-mode/for
@@ -1,3 +1,4 @@
1# -*- mode: snippet -*-
1# name: for ... in ... : ... 2# name: for ... in ... : ...
2# key: for 3# key: for
3# group : control structure 4# group : control structure