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 [15/01/2016 09:57] Hypathie [Installer VIM IDE pour python 3] |
utilisateurs:hypathie:tutos:vim-ide-python [29/03/2016 05:48] (Version actuelle) Hypathie [Installer VIM IDE pour python 3] |
||
---|---|---|---|
Ligne 55: | Ligne 55: | ||
Allons-y : | Allons-y : | ||
- | <code root>apt-get install vim vim-common vim-runtime</code> | + | <code root>apt-get install vim</code> |
Ligne 69: | Ligne 69: | ||
libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \ | libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \ | ||
ruby-dev mercurial</code> | ruby-dev mercurial</code> | ||
- | | + | |
* Pour ce concerne la configuration de vim : | * Pour ce concerne la configuration de vim : | ||
Ligne 180: | 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 | ||
Ligne 225: | Ligne 253: | ||
</note> | </note> | ||
- | =====Utilisations===== | + | =====Configuration===== |
+ | |||
+ | Pour la gestion des téléchargements des plugins : | ||
+ | |||
+ | <code root>apt-get install git-core && apt-get install wget</code> | ||
+ | |||
+ | |||
- | ===== VIM IDE DJANGO ===== | ||