Two commands create Vim as the Python IDE method, vimpython

Source: Internet
Author: User

Two commands create Vim as the Python IDE method, vimpython

Run the following two commands to configure Vim (including plug-ins) to Python IDE. Currently, MAC and Ubuntu are supported.

curl -O https://raw.githubusercontent.com/vince67/v7_config/master/vim.shbash vim.sh

Example

What have you done?

A convenient bash script is written to configure VIM

The configuration used is from fisa-vim-config.

Script:
• Note 1: each time this script is run, the old ~ /. Backup the vimrc file to/tmp/vimrc. bak and replace the original ~ /. Vimrc file.
• Note 2: MAC and Ubuntu systems are currently supported.
• Script storage location

  #!/bin/bash  # install fisa vim config  echo '==============================='  echo 'start to install dependences...'  case "$OSTYPE" in    darwin*) brew install vim git pip curl;;    linux*)  sudo apt-get install vim exuberant-ctags git pip curl;;    *)    echo "unknown: OS: $OSTYPE, U should install dependences by yourself" ;;  esac  sudo pip install dbgp vim-debug pep8 flake8 pyflakes isort  echo '==============================='  echo 'start to download vimrc file...'  cp ~/.vimrc /tmp/vimrc.bak  curl -O https://raw.githubusercontent.com/fisadev/fisa-vim-config/master/.vimrc  mv .vimrc ~/.vimrc  echo '==============================='  echo 'start to install vim plugins...'  vim +BundleClean +BundleInstall! +qa  sudo chown -R $USER ~/.vim/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.