当前位置: 首页 > 工具软件 > Vundle > 使用案例 >

Ubuntu20.04 使用Vundle安装Vim插件YouCompleteMe

郤令
2023-12-01

先安装好Vundle

vi ~/.vimrc文件代码

set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" python模块补全 例如 os.
Plugin 'davidhalter/jedi-vim'
" " python自动缩进
Plugin 'vim-scripts/indentpython.vim'
" " 缩进指示线
Plugin 'Yggdroot/indentLine'


"Plugin 'flazz/vim-colorschemes'
Plugin 'jistr/vim-nerdtree-tabs'


Plugin 'preservim/nerdtree'

Plugin 'Valloric/YouCompleteMe'


call vundle#end()

vi 装态下:PluginInstall

安装:(以下二个都要装,不然会报错

apt install build-essential cmake vim-nox python3-dev
apt install mono-complete golang nodejs default-jdk npm

就进入

cd ~/.vim/bundle/YouCompleteMe
python3 install.py --all

安装完成

 类似资料: