summaryrefslogtreecommitdiffstats
path: root/vim/.vim/templates
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm@chemicalstorm.org>2012-10-10 22:12:38 +0200
committerAudric Schiltknecht <storm@chemicalstorm.org>2012-10-10 22:12:38 +0200
commit16938a57453b769490fde0372407ae169de519ab (patch)
tree3a083df1bf87941b430e6101bc7a3a977ad8d290 /vim/.vim/templates
parent048df48526e1b8f5176319f79aaa6276906556bd (diff)
downloaddotfiles-16938a57453b769490fde0372407ae169de519ab.tar.gz
dotfiles-16938a57453b769490fde0372407ae169de519ab.tar.bz2
dotfiles-16938a57453b769490fde0372407ae169de519ab.zip
Add "basic" vim configuration
Diffstat (limited to 'vim/.vim/templates')
-rw-r--r--vim/.vim/templates/autocompletion.vim11
-rw-r--r--vim/.vim/templates/c.tpl8
-rw-r--r--vim/.vim/templates/cpp.tpl8
-rw-r--r--vim/.vim/templates/h.tpl14
-rw-r--r--vim/.vim/templates/html.tpl11
-rw-r--r--vim/.vim/templates/java.tpl11
-rw-r--r--vim/.vim/templates/py.tpl4
7 files changed, 67 insertions, 0 deletions
diff --git a/vim/.vim/templates/autocompletion.vim b/vim/.vim/templates/autocompletion.vim
new file mode 100644
index 0000000..a4dca09
--- /dev/null
+++ b/vim/.vim/templates/autocompletion.vim
@@ -0,0 +1,11 @@
+" <+DATE+> : Date du jour
+%s/<+DATE+>/\=strftime("%d %b %Y")/g
+
+" <+AUTEUR+> : Auteur
+%s/<+AUTEUR+>/Audric Schiltknecht \/ Viveris Technologies/g
+
+" <+VERSION+> : Par défaut -> 1.0
+%s/<+VERSION+>/1\.0/g
+
+" <+FILE+> : nom du fichier
+%s/<+FILE+>/\=expand('%')/g
diff --git a/vim/.vim/templates/c.tpl b/vim/.vim/templates/c.tpl
new file mode 100644
index 0000000..0e86285
--- /dev/null
+++ b/vim/.vim/templates/c.tpl
@@ -0,0 +1,8 @@
+/**
+ * @file <+FILE+>
+ * @author <+AUTEUR+>
+ * @date <+DATE+>
+ * @version <+VERSION+>
+ * @brief <+DESCRIPTION_COURTE+>
+ *
+ */
diff --git a/vim/.vim/templates/cpp.tpl b/vim/.vim/templates/cpp.tpl
new file mode 100644
index 0000000..0e86285
--- /dev/null
+++ b/vim/.vim/templates/cpp.tpl
@@ -0,0 +1,8 @@
+/**
+ * @file <+FILE+>
+ * @author <+AUTEUR+>
+ * @date <+DATE+>
+ * @version <+VERSION+>
+ * @brief <+DESCRIPTION_COURTE+>
+ *
+ */
diff --git a/vim/.vim/templates/h.tpl b/vim/.vim/templates/h.tpl
new file mode 100644
index 0000000..53a7226
--- /dev/null
+++ b/vim/.vim/templates/h.tpl
@@ -0,0 +1,14 @@
+/**
+ * @file <+FILE+>
+ * @author <+AUTEUR+>
+ * @version <+VERSION+>
+ * @brief <+DESCRIPTION_COURTE+>
+ *
+ * <+DESCRIPTION_LONGUE+>
+ *
+ */
+#ifndef <+HEADER_H+>
+#define <+HEADER_H+>
+
+
+#endif
diff --git a/vim/.vim/templates/html.tpl b/vim/.vim/templates/html.tpl
new file mode 100644
index 0000000..1b18da7
--- /dev/null
+++ b/vim/.vim/templates/html.tpl
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!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">
+<head >
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title></title>
+</head>
+<body>
+
+</body>
+</html>
diff --git a/vim/.vim/templates/java.tpl b/vim/.vim/templates/java.tpl
new file mode 100644
index 0000000..7b4f715
--- /dev/null
+++ b/vim/.vim/templates/java.tpl
@@ -0,0 +1,11 @@
+/**
+* @author : <+AUTEUR+>
+* @date : <+DATE+>
+* @version : <+VERSION+>
+*/
+
+package <+NOM_PACKAGE+>;
+
+class <+FILE+> {
+
+}
diff --git a/vim/.vim/templates/py.tpl b/vim/.vim/templates/py.tpl
new file mode 100644
index 0000000..606c45a
--- /dev/null
+++ b/vim/.vim/templates/py.tpl
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# Author: <+AUTEUR+>
+# $Id:$
+