Skip to content

Instantly share code, notes, and snippets.

@laomo
Last active December 16, 2015 03:38
Show Gist options
  • Save laomo/5370993 to your computer and use it in GitHub Desktop.
Save laomo/5370993 to your computer and use it in GitHub Desktop.
auto config vim for python
#!/bin/bash
#######################################################################################
# auto config vim for python
# author : laomo(lmbj.net)
# date : 2013-4-12
# form https://github.com/gmarik/vundle and https://github.com/fisadev/fisa-vim-config
#######################################################################################
# get vim plugin manager Vundle
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
# get support color
mkdir ~/.vim/colors
curl https://raw.github.com/fisadev/fisa-vim-colorscheme/master/colors/fisa.vim > ~/.vim/colors/fisa.vim
# config vim for python
curl https://raw.github.com/laomo/fisa-vim-config/master/.vimrc > ~/.vimrc
#this will remove plugins no longer used, install any new plugins, and update the existing ones to the last versions
vim +BundleClean +BundleInstall! +qa
sudo apt-get install exuberant-ctags
#intall pip, a tool for installing and managing Python packages.
sudo curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py
sudo pip install dbgp vim-debug pep8 flake8 pyflakes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment