diff options
Diffstat (limited to 'vim/.vim/templates')
-rw-r--r-- | vim/.vim/templates/autocompletion.vim | 11 | ||||
-rw-r--r-- | vim/.vim/templates/c.tpl | 8 | ||||
-rw-r--r-- | vim/.vim/templates/cpp.tpl | 8 | ||||
-rw-r--r-- | vim/.vim/templates/h.tpl | 14 | ||||
-rw-r--r-- | vim/.vim/templates/html.tpl | 11 | ||||
-rw-r--r-- | vim/.vim/templates/java.tpl | 11 | ||||
-rw-r--r-- | vim/.vim/templates/py.tpl | 4 |
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:$ + |