This repo is for storing my personal vim settings. The purpose of all the plugins is to build an IDE for developing python programs.
Make sure you have already installed pip.
- sudo apt-get install python-pip
Execute following instructions to install plugins.
- git clone --recursive https://github.com/CletusLee/.vim.git ~/.vim
- ln -s ~/.vim/vimrc ~/.vimrc
- sudo pip install jedi
- sudo apt-get install exuberant-ctags
- sudo pip install -U pytest
- sudo pip install dbgp vim-debug
- install-vim-debug.py
(Optional. If you do not want to install YouCompleteMe plugin, following steps will lead you to go back to the old version.)
- git reset --hard v7.3 (You might see an error message says some folders cannot be removed)
- git clean -fd
- cd ~/.vim/bundle
- git clean -f -f -d YouCompleteMe
If you are not satisfied with the auto-complete feature that jedi provides, follow these tips to install plugin YouCompleteMe.
Prepare tools for adding a new apt repo
- sudo apt-get install python-software-properties
Add a new apt repo and upgrade vim to the latest version(should be above 7.4)
- sudo add-apt-repository ppa:fcwu-tw/ppa
- sudo apt-get update
- sudo apt-get install vim
Install the compiler
- sudo apt-get install build-essential cmake python-dev
compile YCM
- cd ~/.vim/bundle/YouCompleteMe
- ./install.sh --clang-completer
If the vim you are using is the version of "Small version without GUI", please also install following tools:
- sudo apt-get install vim-gui-common
- sudo apt-get install vim-runtime
In order to know whether you are using a "small version", you can call :version in Vim to get the information.