VIM的YCM插件安装
第一步 安装vim cmake python
sudo apt install build-essential cmake vim-nox python3-dev
第二步 安装clang
sudo apt-get install clang
第三步 安装git
sudo apt-get install git
第四步 安装VUNDLE
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
在家目录下,vim .vimrc
在.vimrc文件中粘贴下边几句话:
set shell=/bin/bash
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
" call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" The following are example