先安装好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内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复