首页 > 系统服务 > 详细

Ubuntu Vim YouCompleteMe 安装

时间:2016-05-10 12:38:22      阅读:150      评论:0      收藏:0      [点我收藏+]

0. 必要工具安装

  sudo apt-get install build-essential cmake

  

1. 安装 vundle

  mkdir ~/.vim/bundle

  git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

2.编辑 .vimrc

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" alternatively, pass a path where Vundle should install plugins
"let path = ‘~/some/path/here‘
"call vundle#rc(path)

" let Vundle manage Vundle, required
Plugin gmarik/vundle

Bundle Valloric/YouCompleteMe

 

 

3.安装 youcompleteme

  cd .vim/bundle/

  git clone https://github.com/Valloric/YouCompleteMe.git

  ./install.py --clang-completer

4.vim 开启 python 支持

  sudo apt-get install vim-gnome-py2

Ubuntu Vim YouCompleteMe 安装

原文:http://www.cnblogs.com/firemage/p/5477185.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!