SoFunction
Updated on 2024-11-16

Two commands to turn Vim into a Python IDE

Run the following two commands to configure Vim (with plugins) as a Python IDE. currently supports MAC and Ubuntu.

curl -O /vince67/v7_config/master/
bash 

Sample Screenshots

What did you do?

Wrote a handy bash script to configure the VIM

The configuration used comes from thefisa-vim-config explosion of results (e.g. of gasoline and diesel fuel)

Attached script.
-Note 1: Every time you run this script, it will backup the old ~/.vimrc file to /tmp/ 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/
  curl -O /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/