ubuntu 下安装 YouCompleteMe
2024-10-08 01:06:16
1、安装用到的软件包
sudo apt-get install vim
sudo apt-get install git
sudo apt-get install subversion
sudo apt-get install python-dev libxml2-dev libxslt-dev
sudo apt-get install gcc
sudo apt-get install cmake
2.安装Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
编辑 ~/.vimrc, 加入以下:
set nocompatible " be iMproved, required
filetype off " required set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim' Plugin 'Valloric/YouCompleteMe' call vundle#end() " required
filetype plugin indent on " required
3.安装YouCompleteMe
#下载YouCompleteMe源码
git clone https://github.com/Valloric/YouCompleteMe.git ~/.vim/bundle/YouCompleteMe
cd YouCompleteMe/
#获取YCM的依赖包
git submodule update --init --recursive
cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer
参考链接:https://blog.csdn.net/cromma/article/details/52841588
最新文章
- Eclipse打不开,提示: An error has occurred. see the log file
- ios9-通讯录
- csharp:Dapper Sample
- 【BZOJ】1600: [Usaco2008 Oct]建造栅栏(dp)
- 检测zookeeper和kafka是否正常
- 3D 灯光介绍
- 《第一行代码》学习笔记39-服务Service(6)
- dom4j解析xml中指定元素下内容
- vim代码粘贴缩进混乱的问题[Linux]
- TortoiseGit- 创建本地新分支,提交推送到远程,本地新分支合并到工作分支,提交到远程工作分支等。
- echarts Y轴的刻度 跟数据对应---tooltip-formatter
- 【go】http实验
- ajax 之POST请求,参数序列化
- CTEX windedt 打开中文tex乱码问题
- 安装unity3d多个版本共存
- Sublime Text 3编辑器的SublimeRPEL快捷键设置
- Flash:DisplayObject的矩阵旋转(移动/修改注册点,修改旋转点)
- [洛谷P5147]随机数生成器
- ubuntu换系统下载路径源
- 用 Qt 控制 Nikon 显微镜的电动物镜转盘