jecopeng的个人博客分享 http://blog.sciencenet.cn/u/jecopeng

博文

Ubuntu下采用GVIM进行C++编码

已有 1962 次阅读 2016-1-12 13:22 |个人分类:Code Tech|系统分类:科研笔记

I Enviroments

Ubuntu 14.04 LTS

Vundle

YouCompleteMe

vimrc


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



https://blog.sciencenet.cn/blog-427115-949873.html

上一篇:Yael库在Ubuntu的部署
下一篇:Ubuntu Server利用CUPS部署HP Laserjet打印机
收藏 IP: 113.140.11.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-29 11:52

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部