Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
utilisateurs:hypathie:tutos:vim-ide-python [25/03/2016 10:31] Hypathie [Configuration] |
utilisateurs:hypathie:tutos:vim-ide-python [29/03/2016 05:48] (Version actuelle) Hypathie [Installer VIM IDE pour python 3] |
||
---|---|---|---|
Ligne 181: | Ligne 181: | ||
#!/bin/sh | #!/bin/sh | ||
- | mkdir -p ~/.vim/autoload/ ~/.vim/bundle/ ~/.vim/colors/ ~/.vim/ftplugin/ | + | var1="~/.vim/autoload/" |
- | printf "les dossiers ~/.vim/autoload/ ~/.vim/bundle/ ~/.vim/colors/ ~/.vim/ftplugin/ ont bien été créés\n" | + | var2="~/.vim/bundle/" |
+ | var3="~/.vim/colors/" | ||
+ | var4="~/.vim/ftplugin/" | ||
+ | |||
+ | if [ -f "$var1" ] | ||
+ | then | ||
+ | echo "le fichier existe déjà !" | ||
+ | else | ||
+ | mkdir -p ~/vim/autoload/ | ||
+ | fi | ||
+ | if [ -f "$var2" ] | ||
+ | then | ||
+ | echo "le fichier existe !" | ||
+ | else | ||
+ | mkdir -p ~/.vim/bundle/ | ||
+ | if [ -f "$var3" ] | ||
+ | then | ||
+ | echo "le fichier existe !" | ||
+ | else | ||
+ | mkdir -p ~/.vim/colors/ | ||
+ | fi | ||
+ | if [ -f "$var4" ] | ||
+ | then | ||
+ | echo "le fichier existe !" | ||
+ | else | ||
+ | mkdir -p ~/.vim/ftplugin/ | ||
+ | fi | ||
ls -la ~/.vim/ | ls -la ~/.vim/ | ||
cd ~/.vim/autoload | cd ~/.vim/autoload | ||
wget https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim | wget https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim | ||
cd ~/.vim/bundle | cd ~/.vim/bundle | ||
- | git clone https://github.com/tpope/vim-sensible.git && git clone https://github.com/kien/ctrlp.vim.git && git clone https://github.com/scrooloose/nerdtree && git clone https://github.com/klen/python-mode.git && git clone https://github.com/Lokaltog/vim-powerline.git && git clone https://github.com/jistr/vim-nerdtree-tabs.git | + | git clone git clone https://github.com/scrooloose/nerdtree && git clone https://github.com/jistr/vim-nerdtree-tabs.git && git clone https://github.com/tpope/vim-sensible.git && git clone https://github.com/kien/ctrlp.vim.git && git clone https://github.com/klen/python-mode.git && git clone https://github.com/Lokaltog/vim-powerline.git && git clone https://github.com/othree/html5.vim.git && git clone https://github.com/feix760/css3complete.vim.git |
cd ~/.vim/colors | cd ~/.vim/colors | ||
wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/wombat256mod.vim | wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/wombat256mod.vim |