||
I Enviroments
Ubuntu 14.04 LTS
II Prerequisites
1. vim & vim-gtk
$ sudo apt-get install vim
\$ sudo apt-get install vim-gtk
2. git
\$ sudo apt-get install git
3. ctags
\$ sudo apt-get install ctags
4. cmake
\$ sudo apt-get install cmake build-essential
5. python-dev
\$ sudo apt-get install python-dev
III Setup & Configure
1. Vundle
\$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Install Vundle
\$ sudo cp vimrc /etc/vim/vimrc
# $ Copy configure file to directory /etc/vim/vimrc
\$ vim
# Run vim
:PluginInstall
# Repeat this until all plugins are download
2. YouCompleteMe
\$ cd ~/.vim/bundle/
# Change directory to ~/.vim/bundle/
\$ git clone https://github.com/Valloric/YouCompleteMe.git
# Repeat this until there is no error
\$ cd ~/.vim/bundle/YouCompleteMe
# Change directory to ~/.vim/bundle/YouCompleteMe
\$ git submodule update --init --recursive
# Repeat this until there is no error
\$ ./install.py --clang-completer
# Repeat this until there is no error
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-5-29 11:52
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社