From 16938a57453b769490fde0372407ae169de519ab Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Wed, 10 Oct 2012 22:12:38 +0200 Subject: Add "basic" vim configuration --- vim/.vim/templates/autocompletion.vim | 11 +++++++++++ vim/.vim/templates/c.tpl | 8 ++++++++ vim/.vim/templates/cpp.tpl | 8 ++++++++ vim/.vim/templates/h.tpl | 14 ++++++++++++++ vim/.vim/templates/html.tpl | 11 +++++++++++ vim/.vim/templates/java.tpl | 11 +++++++++++ vim/.vim/templates/py.tpl | 4 ++++ 7 files changed, 67 insertions(+) create mode 100644 vim/.vim/templates/autocompletion.vim create mode 100644 vim/.vim/templates/c.tpl create mode 100644 vim/.vim/templates/cpp.tpl create mode 100644 vim/.vim/templates/h.tpl create mode 100644 vim/.vim/templates/html.tpl create mode 100644 vim/.vim/templates/java.tpl create mode 100644 vim/.vim/templates/py.tpl (limited to 'vim/.vim/templates') 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 @@ + + + + + + + + + + + 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:$ + -- cgit v1.2.3-70-g09d2