summaryrefslogtreecommitdiff
path: root/.vim/templates
diff options
context:
space:
mode:
authorben <benjaminfranzke@gmail.com>2010-01-04 20:55:13 +0100
committerben <benjaminfranzke@gmail.com>2010-01-04 20:55:13 +0100
commit3f088b588e2ab5b882b0abacefb0cd44e127a8a7 (patch)
tree2077e6d365de0bbecea0ae4f03888c9bbb49b223 /.vim/templates
parentd2f7bc3667ed54d022ad372c0bee9599170d74bc (diff)
downloaddotfiles-3f088b588e2ab5b882b0abacefb0cd44e127a8a7.tar.gz
dotfiles-3f088b588e2ab5b882b0abacefb0cd44e127a8a7.tar.bz2
dotfiles-3f088b588e2ab5b882b0abacefb0cd44e127a8a7.zip
add vim config files
Diffstat (limited to '.vim/templates')
-rwxr-xr-x.vim/templates/changelog/change.py3
-rwxr-xr-x.vim/templates/changelog/rel2
-rwxr-xr-x.vim/templates/html/$1
-rwxr-xr-x.vim/templates/html/dl6
-rwxr-xr-x.vim/templates/html/dt3
-rwxr-xr-x.vim/templates/html/em1
-rwxr-xr-x.vim/templates/html/form6
-rwxr-xr-x.vim/templates/html/html17
-rwxr-xr-x.vim/templates/html/input2
-rwxr-xr-x.vim/templates/html/li2
-rwxr-xr-x.vim/templates/html/ol5
-rwxr-xr-x.vim/templates/html/p4
-rwxr-xr-x.vim/templates/html/script4
-rwxr-xr-x.vim/templates/html/ul5
-rwxr-xr-x.vim/templates/php/$1
-rwxr-xr-x.vim/templates/php/dl6
-rwxr-xr-x.vim/templates/php/dt3
-rwxr-xr-x.vim/templates/php/em1
-rwxr-xr-x.vim/templates/php/fore4
-rwxr-xr-x.vim/templates/php/form6
-rwxr-xr-x.vim/templates/php/html17
-rwxr-xr-x.vim/templates/php/input2
-rwxr-xr-x.vim/templates/php/li2
-rwxr-xr-x.vim/templates/php/ol5
-rwxr-xr-x.vim/templates/php/p4
-rwxr-xr-x.vim/templates/php/script4
-rwxr-xr-x.vim/templates/php/ul5
-rwxr-xr-x.vim/templates/php/while4
-rwxr-xr-x.vim/templates/python/fori2
-rwxr-xr-x.vim/templates/python/gtkt3
-rwxr-xr-x.vim/templates/python/head4
-rw-r--r--.vim/templates/tex/head23
32 files changed, 157 insertions, 0 deletions
diff --git a/.vim/templates/changelog/change.py b/.vim/templates/changelog/change.py
new file mode 100755
index 0000000..ea0e7ca
--- /dev/null
+++ b/.vim/templates/changelog/change.py
@@ -0,0 +1,3 @@
+import datetime
+print " %s; Phillip Berndt <phillip.berndt@gmail.com>:" % datetime.date.today().strftime("%d. %b %Y")
+print " <++>"
diff --git a/.vim/templates/changelog/rel b/.vim/templates/changelog/rel
new file mode 100755
index 0000000..4a4c644
--- /dev/null
+++ b/.vim/templates/changelog/rel
@@ -0,0 +1,2 @@
+* <++>
+<++>
diff --git a/.vim/templates/html/$ b/.vim/templates/html/$
new file mode 100755
index 0000000..86f8609
--- /dev/null
+++ b/.vim/templates/html/$
@@ -0,0 +1 @@
+document.getElementById("<++>").<++>
diff --git a/.vim/templates/html/dl b/.vim/templates/html/dl
new file mode 100755
index 0000000..c7bff2e
--- /dev/null
+++ b/.vim/templates/html/dl
@@ -0,0 +1,6 @@
+<dl>
+ <dt><++></dt>
+ <dd><++></dd>
+ <++>
+</dl>
+<++>
diff --git a/.vim/templates/html/dt b/.vim/templates/html/dt
new file mode 100755
index 0000000..eee603e
--- /dev/null
+++ b/.vim/templates/html/dt
@@ -0,0 +1,3 @@
+<dt><++></dt>
+<dd><++></dd>
+<++>
diff --git a/.vim/templates/html/em b/.vim/templates/html/em
new file mode 100755
index 0000000..53f4852
--- /dev/null
+++ b/.vim/templates/html/em
@@ -0,0 +1 @@
+<em><++></em><++>
diff --git a/.vim/templates/html/form b/.vim/templates/html/form
new file mode 100755
index 0000000..5985979
--- /dev/null
+++ b/.vim/templates/html/form
@@ -0,0 +1,6 @@
+<form method="<++>" action="<++>">
+<p>
+ <++>
+</p>
+</form>
+<++>
diff --git a/.vim/templates/html/html b/.vim/templates/html/html
new file mode 100755
index 0000000..618a876
--- /dev/null
+++ b/.vim/templates/html/html
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title><+title+></title>
+ <style type="text/css">
+ </style>
+ </head>
+ <body>
+ <h1><+title+></h1>
+ <++>
+ </body>
+</html>
diff --git a/.vim/templates/html/input b/.vim/templates/html/input
new file mode 100755
index 0000000..670e334
--- /dev/null
+++ b/.vim/templates/html/input
@@ -0,0 +1,2 @@
+<input type="<++>" name="<++>" />
+<++>
diff --git a/.vim/templates/html/li b/.vim/templates/html/li
new file mode 100755
index 0000000..b04522c
--- /dev/null
+++ b/.vim/templates/html/li
@@ -0,0 +1,2 @@
+<li><++></li>
+<++>
diff --git a/.vim/templates/html/ol b/.vim/templates/html/ol
new file mode 100755
index 0000000..119e490
--- /dev/null
+++ b/.vim/templates/html/ol
@@ -0,0 +1,5 @@
+<ol>
+ <li><++></li>
+ <++>
+</ol>
+<++>
diff --git a/.vim/templates/html/p b/.vim/templates/html/p
new file mode 100755
index 0000000..92cd897
--- /dev/null
+++ b/.vim/templates/html/p
@@ -0,0 +1,4 @@
+<p>
+ <++>
+</p>
+<++>
diff --git a/.vim/templates/html/script b/.vim/templates/html/script
new file mode 100755
index 0000000..61aab67
--- /dev/null
+++ b/.vim/templates/html/script
@@ -0,0 +1,4 @@
+<script type="text/javascript">
+ <++>
+</script>
+<++>
diff --git a/.vim/templates/html/ul b/.vim/templates/html/ul
new file mode 100755
index 0000000..f65ab78
--- /dev/null
+++ b/.vim/templates/html/ul
@@ -0,0 +1,5 @@
+<ul>
+ <li><++></li>
+ <++>
+</ul>
+<++>
diff --git a/.vim/templates/php/$ b/.vim/templates/php/$
new file mode 100755
index 0000000..86f8609
--- /dev/null
+++ b/.vim/templates/php/$
@@ -0,0 +1 @@
+document.getElementById("<++>").<++>
diff --git a/.vim/templates/php/dl b/.vim/templates/php/dl
new file mode 100755
index 0000000..c7bff2e
--- /dev/null
+++ b/.vim/templates/php/dl
@@ -0,0 +1,6 @@
+<dl>
+ <dt><++></dt>
+ <dd><++></dd>
+ <++>
+</dl>
+<++>
diff --git a/.vim/templates/php/dt b/.vim/templates/php/dt
new file mode 100755
index 0000000..eee603e
--- /dev/null
+++ b/.vim/templates/php/dt
@@ -0,0 +1,3 @@
+<dt><++></dt>
+<dd><++></dd>
+<++>
diff --git a/.vim/templates/php/em b/.vim/templates/php/em
new file mode 100755
index 0000000..53f4852
--- /dev/null
+++ b/.vim/templates/php/em
@@ -0,0 +1 @@
+<em><++></em><++>
diff --git a/.vim/templates/php/fore b/.vim/templates/php/fore
new file mode 100755
index 0000000..5816e79
--- /dev/null
+++ b/.vim/templates/php/fore
@@ -0,0 +1,4 @@
+foreach(<++> as <++> => <++>)
+{
+ <++>
+}
diff --git a/.vim/templates/php/form b/.vim/templates/php/form
new file mode 100755
index 0000000..5985979
--- /dev/null
+++ b/.vim/templates/php/form
@@ -0,0 +1,6 @@
+<form method="<++>" action="<++>">
+<p>
+ <++>
+</p>
+</form>
+<++>
diff --git a/.vim/templates/php/html b/.vim/templates/php/html
new file mode 100755
index 0000000..618a876
--- /dev/null
+++ b/.vim/templates/php/html
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC
+ "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title><+title+></title>
+ <style type="text/css">
+ </style>
+ </head>
+ <body>
+ <h1><+title+></h1>
+ <++>
+ </body>
+</html>
diff --git a/.vim/templates/php/input b/.vim/templates/php/input
new file mode 100755
index 0000000..670e334
--- /dev/null
+++ b/.vim/templates/php/input
@@ -0,0 +1,2 @@
+<input type="<++>" name="<++>" />
+<++>
diff --git a/.vim/templates/php/li b/.vim/templates/php/li
new file mode 100755
index 0000000..b04522c
--- /dev/null
+++ b/.vim/templates/php/li
@@ -0,0 +1,2 @@
+<li><++></li>
+<++>
diff --git a/.vim/templates/php/ol b/.vim/templates/php/ol
new file mode 100755
index 0000000..119e490
--- /dev/null
+++ b/.vim/templates/php/ol
@@ -0,0 +1,5 @@
+<ol>
+ <li><++></li>
+ <++>
+</ol>
+<++>
diff --git a/.vim/templates/php/p b/.vim/templates/php/p
new file mode 100755
index 0000000..92cd897
--- /dev/null
+++ b/.vim/templates/php/p
@@ -0,0 +1,4 @@
+<p>
+ <++>
+</p>
+<++>
diff --git a/.vim/templates/php/script b/.vim/templates/php/script
new file mode 100755
index 0000000..61aab67
--- /dev/null
+++ b/.vim/templates/php/script
@@ -0,0 +1,4 @@
+<script type="text/javascript">
+ <++>
+</script>
+<++>
diff --git a/.vim/templates/php/ul b/.vim/templates/php/ul
new file mode 100755
index 0000000..f65ab78
--- /dev/null
+++ b/.vim/templates/php/ul
@@ -0,0 +1,5 @@
+<ul>
+ <li><++></li>
+ <++>
+</ul>
+<++>
diff --git a/.vim/templates/php/while b/.vim/templates/php/while
new file mode 100755
index 0000000..0e6e202
--- /dev/null
+++ b/.vim/templates/php/while
@@ -0,0 +1,4 @@
+while(<++>)
+{
+ <++>
+}
diff --git a/.vim/templates/python/fori b/.vim/templates/python/fori
new file mode 100755
index 0000000..4fb67c9
--- /dev/null
+++ b/.vim/templates/python/fori
@@ -0,0 +1,2 @@
+for <++> in <++>:
+ <++>
diff --git a/.vim/templates/python/gtkt b/.vim/templates/python/gtkt
new file mode 100755
index 0000000..c8a62c1
--- /dev/null
+++ b/.vim/templates/python/gtkt
@@ -0,0 +1,3 @@
+gtk.threads_enter()
+<++>
+gtk.threads_leave()
diff --git a/.vim/templates/python/head b/.vim/templates/python/head
new file mode 100755
index 0000000..5567fe9
--- /dev/null
+++ b/.vim/templates/python/head
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+# vim:fileencoding=utf-8:ft=python
+#
+
diff --git a/.vim/templates/tex/head b/.vim/templates/tex/head
new file mode 100644
index 0000000..572c2d0
--- /dev/null
+++ b/.vim/templates/tex/head
@@ -0,0 +1,23 @@
+\documentclass{scrartcl}
+\usepackage{graphicx}
+\usepackage[utf8]{inputenc}
+\usepackage[ngerman]{babel}
+\usepackage[automark]{scrpage2}
+\pagestyle{scrheadings}
+
+\ihead{<+links+>}
+\chead{\pagemark}
+\ohead{\headmark}
+\author{Phillip Berndt}
+\date{\today{}}
+\title{<++>}
+
+
+\begin{document}
+\maketitle
+\tableofcontents
+\newpage
+
+\section{<++>}
+
+\end{document}