Skip to content

CletusLee/.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.vim

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.

  1. sudo apt-get install python-pip

Execute following instructions to install plugins.

  1. git clone --recursive https://github.com/CletusLee/.vim.git ~/.vim
  2. ln -s ~/.vim/vimrc ~/.vimrc
  3. sudo pip install jedi
  4. sudo apt-get install exuberant-ctags
  5. sudo pip install -U pytest
  6. sudo pip install dbgp vim-debug
  7. 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.)

  1. git reset --hard v7.3 (You might see an error message says some folders cannot be removed)
  2. git clean -fd
  3. cd ~/.vim/bundle
  4. git clean -f -f -d YouCompleteMe

Installation of 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

  1. sudo apt-get install python-software-properties

Add a new apt repo and upgrade vim to the latest version(should be above 7.4)

  1. sudo add-apt-repository ppa:fcwu-tw/ppa
  2. sudo apt-get update
  3. sudo apt-get install vim

Install the compiler

  1. sudo apt-get install build-essential cmake python-dev

compile YCM

  1. cd ~/.vim/bundle/YouCompleteMe
  2. ./install.sh --clang-completer

Notices

If the vim you are using is the version of "Small version without GUI", please also install following tools:

  1. sudo apt-get install vim-gui-common
  2. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors