From 1bc0a2aef7d4aad0650047831ae39b196f6cf963 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 24 Jan 2017 13:40:21 +0100 Subject: [PATCH] Update --- dispatch | 6 +++++ snippets/php.snippets | 4 +-- snippets/py.snippets | 58 +++++++++++++++++++++++++++++++++++++++++++ snippets/sh.snippets | 58 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 124 insertions(+), 2 deletions(-) create mode 100644 snippets/py.snippets create mode 100644 snippets/sh.snippets diff --git a/dispatch b/dispatch index eeb2115..c69e960 100755 --- a/dispatch +++ b/dispatch @@ -5,7 +5,13 @@ src=`pwd` targ="$HOME/.vim" # updated files +mkdir ~/.vim; +mkdir ~/.vim/bundle; cp $src/.vimrc $HOME/.vimrc; cp -r $src/colors $targ/colors; cp -r $src/config $targ/config; cp -r $src/snippets $targ/snippets; + +# install Vundle +cd $targ/bundle; +git clone --depth=1 https://github.com/VundleVim/Vundle.vim.git; diff --git a/snippets/php.snippets b/snippets/php.snippets index bc326ea..ad14be0 100644 --- a/snippets/php.snippets +++ b/snippets/php.snippets @@ -1,6 +1,6 @@ snippet comh - /**nippet definition.*********************** + /************************** * ${1:Program Name} * * ${2: Date} * *************************** @@ -25,7 +25,7 @@ snippet comss {${1:Number}} ${2:Section Title} // $0 snippet comf - ${1:RESUME DE LA FONCTION} + /* ${1:RESUME DE LA FONCTION} * * @${2:nomParam}<${3:typeParam}> ${4:Description du param} * diff --git a/snippets/py.snippets b/snippets/py.snippets new file mode 100644 index 0000000..c903cea --- /dev/null +++ b/snippets/py.snippets @@ -0,0 +1,58 @@ + +snippet comh + ########################## + # ${1:Program Name} # + # ${2: Date} # + ########################### + # Designed & Developed by # + # xdrm-brackets # + ########################### + # https://xdrm.io/ # + ########################### + $0 +snippet comc + # [${1:Number}] ${2:Chapter Title} + #========================================================# + $0 +snippet comcc + # (${1:Number}) ${2:Chapter Title} + #--------------------------------------------------------# + $0 +snippet coms + # (${1:Number}) ${2:Section Title} # + $0 +snippet comss + # {${1:Number}} ${2:Section Title} # + $0 +snippet comf + # ${1:RESUME DE LA FONCTION} + # + # @${2:nomParam}<${3:typeParam}> ${4:Description du param} + # + # @return ${5:nomRetour}<${6:typeRetour}> ${7:Description du retour} + # + #/${8:} + $0 +snippet comcf + # [${1:Number}] ${2:Chapter Title} + # + # @inputname inputdesc + # + # @return outputname outputdesc + # + #========================================================# + $0 +snippet comccf + # (${1:Number}) ${2:Chapter Title} + # + # @inputname inputdesc + # + # @return outputname outputdesc + # + #--------------------------------------------------------# + $0 +snippet comt + ################################################ + ####${1: Titre }#### + ################################################ + $0 diff --git a/snippets/sh.snippets b/snippets/sh.snippets new file mode 100644 index 0000000..c903cea --- /dev/null +++ b/snippets/sh.snippets @@ -0,0 +1,58 @@ + +snippet comh + ########################## + # ${1:Program Name} # + # ${2: Date} # + ########################### + # Designed & Developed by # + # xdrm-brackets # + ########################### + # https://xdrm.io/ # + ########################### + $0 +snippet comc + # [${1:Number}] ${2:Chapter Title} + #========================================================# + $0 +snippet comcc + # (${1:Number}) ${2:Chapter Title} + #--------------------------------------------------------# + $0 +snippet coms + # (${1:Number}) ${2:Section Title} # + $0 +snippet comss + # {${1:Number}} ${2:Section Title} # + $0 +snippet comf + # ${1:RESUME DE LA FONCTION} + # + # @${2:nomParam}<${3:typeParam}> ${4:Description du param} + # + # @return ${5:nomRetour}<${6:typeRetour}> ${7:Description du retour} + # + #/${8:} + $0 +snippet comcf + # [${1:Number}] ${2:Chapter Title} + # + # @inputname inputdesc + # + # @return outputname outputdesc + # + #========================================================# + $0 +snippet comccf + # (${1:Number}) ${2:Chapter Title} + # + # @inputname inputdesc + # + # @return outputname outputdesc + # + #--------------------------------------------------------# + $0 +snippet comt + ################################################ + ####${1: Titre }#### + ################################################ + $0