我是靠谱客的博主 聪明蜗牛,这篇文章主要介绍Ubuntu20.04 使用Vundle安装Vim插件YouCompleteMe,现在分享给大家,希望可以做个参考。

先安装好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

安装完成

最后

以上就是聪明蜗牛最近收集整理的关于Ubuntu20.04 使用Vundle安装Vim插件YouCompleteMe的全部内容,更多相关Ubuntu20.04内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(56)

评论列表共有 0 条评论

立即
投稿
返回
顶部